Fix: fix zoom increase/decrease buttons in FF (#9761)

This commit is contained in:
shamoon authored and GitHub committed 2025-04-22 08:02:43 -07:00
1 parent 648cfd9d05
commit fcb7349e8e
3 files changed
+7 -14

No files matched your search

@@ -1099,12 +1099,10 @@ export class DocumentDetailComponent
)
}
isZoomSelected(setting: ZoomSetting): boolean {
get currentZoom() {
if (this.previewZoomScale === ZoomSetting.PageFit) {
return setting === ZoomSetting.PageFit
}
return this.previewZoomSetting === setting
return ZoomSetting.PageFit
} else return this.previewZoomSetting
}
getZoomSettingTitle(setting: ZoomSetting): string {