Skip to content

Commit

Permalink
Activate the correct paperScope when a tool is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
csbailey5t authored and mejackreed committed Mar 21, 2017
1 parent 885bcbb commit 6e71e4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/src/annotations/osd-svg-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
setMouseTool: function() {
this.removeMouseTool();

this.paperScope.activate();
var mouseTool = new this.paperScope.Tool();
mouseTool.overlay = this;
mouseTool.onMouseUp = this.onMouseUp;
Expand Down

0 comments on commit 6e71e4a

Please sign in to comment.