fix(web): integrate zoom toggle button into panorama photo viewer (#24189)

This commit is contained in:
Mees Frensel
2025-11-28 18:50:16 +01:00
committed by GitHub
parent c0a3b58bba
commit e36261b552
3 changed files with 40 additions and 9 deletions

View File

@@ -512,7 +512,7 @@
{:else if asset.exifInfo?.projectionType === ProjectionType.EQUIRECTANGULAR || (asset.originalPath && asset.originalPath
.toLowerCase()
.endsWith('.insp'))}
<ImagePanoramaViewer {asset} />
<ImagePanoramaViewer bind:zoomToggle {asset} />
{:else if isShowEditor && selectedEditType === 'crop'}
<CropArea {asset} />
{:else}