diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 933b822..f813999 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -270,8 +270,6 @@ * Updates the object transform for rendering * * TODO - Optimization pass! - * - * @private */ DisplayObject.prototype.updateTransform = function () { diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 933b822..f813999 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -270,8 +270,6 @@ * Updates the object transform for rendering * * TODO - Optimization pass! - * - * @private */ DisplayObject.prototype.updateTransform = function () { diff --git a/src/core/renderers/webgl/filters/AbstractFilter.js b/src/core/renderers/webgl/filters/AbstractFilter.js index da05ae2..9a3f78a 100644 --- a/src/core/renderers/webgl/filters/AbstractFilter.js +++ b/src/core/renderers/webgl/filters/AbstractFilter.js @@ -29,7 +29,6 @@ /** * The uniforms as an object * @member {object} - * @private */ this.uniforms = uniforms || {}; diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 933b822..f813999 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -270,8 +270,6 @@ * Updates the object transform for rendering * * TODO - Optimization pass! - * - * @private */ DisplayObject.prototype.updateTransform = function () { diff --git a/src/core/renderers/webgl/filters/AbstractFilter.js b/src/core/renderers/webgl/filters/AbstractFilter.js index da05ae2..9a3f78a 100644 --- a/src/core/renderers/webgl/filters/AbstractFilter.js +++ b/src/core/renderers/webgl/filters/AbstractFilter.js @@ -29,7 +29,6 @@ /** * The uniforms as an object * @member {object} - * @private */ this.uniforms = uniforms || {}; 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;