feat(nds): tweak animations durations
This commit is contained in:
@@ -74,8 +74,6 @@ const TOP_SCREEN_OFFSET = 170;
|
||||
|
||||
const zoomStyle = computed(() => {
|
||||
const scale = ndsScale.value * gallery.zoom.scale;
|
||||
if (scale === 1) return { scale: ndsScale.value };
|
||||
|
||||
const y = TOP_SCREEN_OFFSET * ndsScale.value * (gallery.zoom.scale - 1);
|
||||
return { transform: `translateY(${y}px) scale(${scale})` };
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user