mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-04-30 00:00:04 +08:00
Added enabling isMouseHold for delete and backspace buttons
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user