Fix reshape

This commit is contained in:
DD Liu 2018-07-06 11:29:06 -04:00
parent 74196228f1
commit 90bc640dbb

View file

@ -227,7 +227,11 @@ class ReshapeTool extends paper.Tool {
}
handleMouseUp (event) {
if (event.event.button > 0 || !this.active) return; // only first mouse button
if (this.mode === ReshapeModes.SELECTION_BOX) {
this._modeMap[this.mode].onMouseUpVector(event);
} else {
this._modeMap[this.mode].onMouseUp(event);
}
this.mode = ReshapeModes.SELECTION_BOX;
this.active = false;
}