Skip to content

Commit 9e7a16b

Browse files
committed
Fix #61
1 parent 734d4f7 commit 9e7a16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imports/editor/2d/tools/SseTool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default class SseTools {
2020
}
2121

2222
bindCallbacks(){
23-
["onMouseDown","onMouseUp","onMouseMove","onMouseDrag", "onKeyDown", "onKeyUp"].forEach(callback=>{
23+
["onMouseDown","onMouseUp","onMouseMove","onMouseDrag", "onKeyDown", "onKeyUp", "cancel"].forEach(callback=>{
2424
if (typeof this[callback] == "function")
2525
this.paperTool[callback] = this[callback].bind(this);
2626
})

0 commit comments

Comments
 (0)