fix(2d-nds): zoom more on the nds

This commit is contained in:
2026-02-15 22:48:29 +01:00
parent 2d0e4b3793
commit 070aa84bc4

View File

@@ -2,7 +2,7 @@
const ndsScale = ref(1); const ndsScale = ref(1);
const updateScale = () => { const updateScale = () => {
const scaleX = (window.innerWidth - 40) / 280; const scaleX = (window.innerWidth - 40) / 235;
const scaleY = (window.innerHeight - 40) / 431; const scaleY = (window.innerHeight - 40) / 431;
ndsScale.value = Math.min(scaleX, scaleY); ndsScale.value = Math.min(scaleX, scaleY);
}; };