Skip to content

Commit

Permalink
Fix #61
Browse files Browse the repository at this point in the history
  • Loading branch information
dmandrioli committed Jan 4, 2021
1 parent 734d4f7 commit 9e7a16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/editor/2d/tools/SseTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class SseTools {
}

bindCallbacks(){
["onMouseDown","onMouseUp","onMouseMove","onMouseDrag", "onKeyDown", "onKeyUp"].forEach(callback=>{
["onMouseDown","onMouseUp","onMouseMove","onMouseDrag", "onKeyDown", "onKeyUp", "cancel"].forEach(callback=>{
if (typeof this[callback] == "function")
this.paperTool[callback] = this[callback].bind(this);
})
Expand Down

0 comments on commit 9e7a16b

Please sign in to comment.