diff --git a/src/interaction/InteractionManager.js b/src/interaction/InteractionManager.js index 2de4279..4aa76f6 100644 --- a/src/interaction/InteractionManager.js +++ b/src/interaction/InteractionManager.js @@ -779,6 +779,12 @@ touchData.identifier = touchEvent.identifier; this.mapPositionToPoint( touchData.global, touchEvent.clientX, touchEvent.clientY ); + if(navigator.isCocoonJS) + { + touchData.global.x = touchData.global.x / this.resolution; + touchData.global.y = touchData.global.y / this.resolution; + } + touchEvent.globalX = touchData.global.x; touchEvent.globalY = touchData.global.y;