@urso/core 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urso/core",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "HTML5 game engine",
5
5
  "main": "build/js/index.js",
6
6
  "author": "Megbrimef",
@@ -116,7 +116,7 @@ class ModulesObjectsModelsButton extends Urso.Core.Modules.Objects.BaseModel {
116
116
  }
117
117
 
118
118
  _onButtonUp() {
119
- if (this._isDisabled)
119
+ if (this._isDisabled || !this._isDown)
120
120
  return false;
121
121
 
122
122
  this._isDown = false;