add event to hotkey callback

This commit is contained in:
Harvey committed 2021-12-03 09:17:24 +08:00
1 parent 019092dd11
commit 9ed840b194
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -4004,7 +4004,7 @@
if (events) {
event.preventDefault();
events.forEach(function (fn) {
return fn.call(art);
return fn.call(art, event);
});
art.emit('hotkey', event);
}