Return state by default on Macro if not a key up or key down event

This commit is contained in:
Josh Klar committed 2018-10-01 21:54:01 -07:00
1 parent 5fe54f6ca3
commit fbefed283b
1 file changed
+2
+2
View File
@@ -125,3 +125,5 @@ def macro(state, action_type, changed_key, logger):
if changed_key.keydown:
state.macro_pending = changed_key.keydown
return state
return state