From deefd8e8711c718301d54a3a756038004a5d72c4 Mon Sep 17 00:00:00 2001 From: Mark MacKay Date: Tue, 14 Aug 2012 00:36:02 -0500 Subject: [PATCH] fixed panning problem --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 3bccefd..95f1dfb 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -2371,7 +2371,7 @@ var getMouseTarget = this.getMouseTarget = function(evt) { // and do nothing else var mouseDown = function(evt) { - if (evt.originalEvent.touches && evt.originalEvent.touches > 1) return; + if (canvas.spaceKey) return; var right_click = evt.button === 2; root_sctm = svgcontent.getScreenCTM().inverse();