* showViewer * Show the photo viewer
()
| 661 | * Show the photo viewer |
| 662 | */ |
| 663 | showViewer() { |
| 664 | const context = this.context; |
| 665 | const layerID = this._currPhotoLayerID; |
| 666 | const photoID = this._currPhotoID; |
| 667 | if (!layerID || !photoID) return; // nothing to show |
| 668 | |
| 669 | const service = context.services[layerID]; |
| 670 | service?.showViewer(); |
| 671 | } |
| 672 | |
| 673 | |
| 674 | /** |