From be53f2a3600afe4c0522bd4793421e2f41782fa3 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Mon, 10 Jan 2011 18:42:42 +0000 Subject: [PATCH] Fixed issue 750: Middle click start selection git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1900 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index e63b6ae9..36670dd7 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -2491,7 +2491,7 @@ var getMouseTarget = this.getMouseTarget = function(evt) { // and do nothing else var mouseDown = function(evt) { - if(canvas.spaceKey) return; + if(canvas.spaceKey || evt.button === 1) return; var right_click = evt.button === 2;