diff --git a/src/ui/Key.js b/src/ui/Key.js index 5823db6b..3f8cc688 100644 --- a/src/ui/Key.js +++ b/src/ui/Key.js @@ -43,6 +43,7 @@ var Key = new function() { if(paper.tool[toolHandler]) { paper.tool[toolHandler]({ + type: down ? 'key-down' : 'key-up', keyCode: code, character: key, modifiers: modifiers