refactor: min scale 1
This commit is contained in:
parent
466e80aa23
commit
f9bf9096ee
|
@ -98,7 +98,7 @@ export default function Ui({disconnected}) {
|
||||||
switch (payload) {
|
switch (payload) {
|
||||||
case '-':
|
case '-':
|
||||||
if ('keyDown' === type) {
|
if ('keyDown' === type) {
|
||||||
setScale((scale) => scale > 1 ? scale - 1 : 0.666);
|
setScale((scale) => scale > 1 ? scale - 1 : 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '=':
|
case '=':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user