fix caps-hold-placing on chrome

This commit is contained in:
HF 2020-11-30 21:56:45 +01:00
parent 7bc46ac7a0
commit 715ba5efaf

View File

@ -423,8 +423,12 @@ class PixelPlainterControls {
}
onKeyUp(event: KeyboardEvent) {
if (keycode(event) === 'shift') {
this.holdPainting = false;
switch (keycode(event)) {
case 'shift':
case 'caps lock':
this.holdPainting = false;
break;
default:
}
}