mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-19 16:52:59 +08:00
Added enabling isMouseHold for delete and backspace buttons
This commit is contained in:
parent
1a53fae5d6
commit
c007f7406a
@ -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}")
|
||||||
|
Loading…
Reference in New Issue
Block a user