Make suggested changes

This commit is contained in:
James Fitzgerald 2022-07-24 17:07:05 -04:00 committed by xs5871
parent 606780ee1c
commit 637991cedc

View File

@ -175,6 +175,7 @@ class Combos(Module):
key = combo.result key = combo.result
break break
else: else:
# Non-active but matching combos can either activate on key release # Non-active but matching combos can either activate on key release
# if they're the only match, or "un-match" the released key but stay # if they're the only match, or "un-match" the released key but stay
@ -229,6 +230,7 @@ class Combos(Module):
# Reset on non-combo key up # Reset on non-combo key up
if not self._matching: if not self._matching:
self.reset(keyboard) self.reset(keyboard)
return key return key
def on_timeout(self, keyboard, combo): def on_timeout(self, keyboard, combo):