From 4536f948f43f0f24be45e19c52508d894f10e74d Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Wed, 12 Aug 2015 18:52:38 -0700 Subject: [PATCH] Not solve if either ctrl or alt pressed --- web/app/sketcher/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/sketcher/canvas.js b/web/app/sketcher/canvas.js index ef114272..b49a1597 100644 --- a/web/app/sketcher/canvas.js +++ b/web/app/sketcher/canvas.js @@ -842,7 +842,7 @@ TCAD.TWO.DragTool.prototype.mousemove = function(e) { var checkX = this.ref.x; var checkY = this.ref.y; this.obj.translate(dx, dy); - if (!e.shiftKey) { + if (!e.altKey && !e.ctrlKey) { this.solveRequest(true); }