common-game
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -108,4 +108,3 @@ import * as PIXI from "@tbminiapp/pixi-miniprogram-engine"; | ||
let _e = JSON.parse(JSON.stringify(e)); | ||
let touches = _e.touches; | ||
let touches = e.touches; | ||
touches.forEach(touch => { | ||
@@ -116,3 +115,3 @@ touch.x = touch.x || touch.clientX || 0; | ||
!!this.game.fullClick && this.game.fullClick(_type, { | ||
data: { global: { x, y }, originalEvent: { touches: _e.touches } }, | ||
data: { global: { x, y }, originalEvent: { touches: e.touches } }, | ||
}); | ||
@@ -119,0 +118,0 @@ } |
{ | ||
"name": "common-game", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "common-game.js", |
Sorry, the diff of this file is too big to display
739853
16169