fix(2d-nds): zoom more on the nds
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m42s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m42s
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
const ndsScale = ref(1);
|
||||
|
||||
const updateScale = () => {
|
||||
const scaleX = (window.innerWidth - 40) / 280;
|
||||
const scaleX = (window.innerWidth - 40) / 235;
|
||||
const scaleY = (window.innerHeight - 40) / 431;
|
||||
ndsScale.value = Math.min(scaleX, scaleY);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user