Merge pull request #249 from atsuyuki/master

Fix LT() doesn't work
This commit is contained in:
Josh Klar 2021-09-27 05:13:58 +00:00 committed by GitHub
commit b8fd60e866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ class Layers(HoldTap):
def ht_activate_hold(self, key, keyboard, *args, **kwargs):
key_type = kwargs['key_type']
if key_type == LayerType.LT:
self._mo_released(key, keyboard, *args, **kwargs)
self._mo_pressed(key, keyboard, *args, **kwargs)
elif key_type == LayerType.TT:
self._tg_pressed(key, keyboard, *args, **kwargs)