diff --git a/js/sketch.js b/js/sketch.js index e885757..2908c47 100755 --- a/js/sketch.js +++ b/js/sketch.js @@ -310,6 +310,13 @@ touch.x = touch.pageX - bounds.left - (win.scrollX || win.pageXOffset); touch.y = touch.pageY - bounds.top - (win.scrollY || win.pageYOffset); + if ( context.retina && is2D && ratio ) { + + touch.x *= ratio; + touch.y *= ratio; + + } + return touch; }