feat(web): animate zoom toggle with cubicOut easing (#26731)

This commit is contained in:
Min Idzelis
2026-03-10 11:42:02 -04:00
committed by GitHub
parent 8222781d1f
commit 8e50d25f45
3 changed files with 39 additions and 6 deletions
@@ -106,7 +106,8 @@
};
const onZoom = () => {
assetViewerManager.zoom = assetViewerManager.zoom > 1 ? 1 : 2;
const targetZoom = assetViewerManager.zoom > 1 ? 1 : 2;
assetViewerManager.animatedZoom(targetZoom);
};
const onPlaySlideshow = () => ($slideshowState = SlideshowState.PlaySlideshow);