Build update

This commit is contained in:
Francisco Hodge
2022-07-11 07:39:34 +00:00
parent 3fe3ec088b
commit f5b3db54ae
5 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v3.4.122
* simple-keyboard v3.4.123
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
+2 -2
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5 -2
View File
@@ -1866,7 +1866,7 @@ class SimpleKeyboard {
* This fires handler before onKeyReleased, therefore when that option is set we will fire the handler
* in onmousedown instead
*/
if(typeof this.options.onKeyReleased !== "function"){
if (typeof this.options.onKeyReleased !== "function") {
this.handleButtonClicked(button, e);
}
};
@@ -1874,7 +1874,10 @@ class SimpleKeyboard {
/**
* Fire button handler for onKeyReleased use-case
*/
if(typeof this.options.onKeyReleased === "function" && !this.isMouseHold){
if (
typeof this.options.onKeyReleased === "function" &&
!this.isMouseHold
) {
this.handleButtonClicked(button, e);
}
this.handleButtonMouseDown(button, e);