refactor: min scale 1
This commit is contained in:
parent
466e80aa23
commit
f9bf9096ee
|
@ -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 '=':
|
||||
|
|
Loading…
Reference in New Issue
Block a user