fix: larger viewport

This commit is contained in:
cha0s 2021-01-20 19:11:25 -06:00
parent a96a0293e4
commit 7098e29ef3

View File

@ -22,7 +22,7 @@ const Ui = ({children, width, height}) => {
scale = innerHeight / height;
}
else {
scale = 1;
scale = innerWidth / width;
}
$ui.current.style.setProperty('--scale', scale);
};