Added enabling isMouseHold for delete and backspace buttons

This commit is contained in:
Francisco Hodge 2019-03-06 19:32:46 -05:00
parent 1a53fae5d6
commit c007f7406a

View File

@ -235,6 +235,8 @@ class SimpleKeyboard {
if ( if (
this.isMouseHold && this.isMouseHold &&
((!button.includes("{") && !button.includes("}")) || ((!button.includes("{") && !button.includes("}")) ||
button === "{delete}" ||
button === "{backspace}" ||
button === "{bksp}" || button === "{bksp}" ||
button === "{space}" || button === "{space}" ||
button === "{tab}") button === "{tab}")