diff --git a/src/kiss_tools/KeyShortcutHandler.hx b/src/kiss_tools/KeyShortcutHandler.hx index d3a9be9..2bf8cdb 100644 --- a/src/kiss_tools/KeyShortcutHandler.hx +++ b/src/kiss_tools/KeyShortcutHandler.hx @@ -9,7 +9,7 @@ typedef PrefixMapHandler = (Map>) -> Void; typedef ItemHandler = (T) -> Void; typedef FinishHandler = () -> Void; typedef BadKeyHandler = (String, PrefixMap) -> Void; -typedef BadShortcutHandler = (String,ShortcutKey) -> Void; +typedef BadShortcutHandler = (String, ShortcutKey) -> Void; enum ShortcutKey { Final(item:T); diff --git a/src/kiss_tools/KeyShortcutHandler.kiss b/src/kiss_tools/KeyShortcutHandler.kiss index 0dcd76f..bbbff5f 100644 --- a/src/kiss_tools/KeyShortcutHandler.kiss +++ b/src/kiss_tools/KeyShortcutHandler.kiss @@ -82,5 +82,4 @@ (method :Void registerItem [description :T item] (whenLet [keyboardShortcut (extractKeyboardShortcuts description)] - (registerShortcut (keyboardShortcut.split "") description item))) - + (registerShortcut (keyboardShortcut.split "") description item))) \ No newline at end of file