refactor: min scale 1

This commit is contained in:
cha0s 2024-07-10 16:08:15 -05:00
parent 466e80aa23
commit f9bf9096ee

View File

@ -98,7 +98,7 @@ export default function Ui({disconnected}) {
switch (payload) {
case '-':
if ('keyDown' === type) {
setScale((scale) => scale > 1 ? scale - 1 : 0.666);
setScale((scale) => scale > 1 ? scale - 1 : 1);
}
break;
case '=':