fix: larger viewport
This commit is contained in:
parent
a96a0293e4
commit
7098e29ef3
|
@ -22,7 +22,7 @@ const Ui = ({children, width, height}) => {
|
|||
scale = innerHeight / height;
|
||||
}
|
||||
else {
|
||||
scale = 1;
|
||||
scale = innerWidth / width;
|
||||
}
|
||||
$ui.current.style.setProperty('--scale', scale);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user