fix(web): don't show ocr button on panoramas (#25450)

This commit is contained in:
Mees Frensel
2026-01-22 17:07:05 +01:00
committed by GitHub
parent 55477a8a1a
commit 78f400305b

View File

@@ -431,6 +431,7 @@
const showOcrButton = $derived(
$slideshowState === SlideshowState.None &&
asset.type === AssetTypeEnum.Image &&
!(asset.exifInfo?.projectionType === 'EQUIRECTANGULAR') &&
!isShowEditor &&
ocrManager.hasOcrData,
);