common-game
Advanced tools
Comparing version 0.0.18 to 0.0.19
{ | ||
"name": "common-game", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "common-game.js", |
@@ -36,3 +36,7 @@ import * as PIXI from "@tbminiapp/pixi-miniprogram-engine"; | ||
this.bindFullEvent((type, e) => { | ||
this.namespace.fullClick(type, e); | ||
let x = e.data.global.x, | ||
y = e.data.global.y; | ||
if ((!isNaN(x) && !isNaN(y))) { | ||
this.namespace.fullClick(type, e); | ||
} | ||
}); | ||
@@ -39,0 +43,0 @@ } |
44233
1260