Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Bugfix for selection matrix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Egil Moeller committed Apr 12, 2011
1 parent 3c457c8 commit bcdca2e
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -77,12 +77,13 @@ dojo.declare("sketchSpaceDesigner.designer.modes.Select", [sketchSpaceDesigner.d

onShapeMouseDown: function (shape, event) {
this.inherited(arguments);
this.onOutlineMouseDown(event);
if (event.button == 0)
this.onOutlineMouseDown(event);
},

onShapeMouseUp: function (shape, event) {
this.inherited(arguments);
if (!this.isOutlineMoving)
if (event.button == 0 && !this.isOutlineMoving)
this.designer.selection.toggleShape(shape, !event.ctrlKey);
},

Expand Down

0 comments on commit bcdca2e

Please sign in to comment.