diff options
author | Drashna Jael're <drashna@live.com> | 2022-07-04 17:56:06 -0700 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2022-07-04 17:56:06 -0700 |
commit | 73a8f1c3a8563b78cb45670986612fa3be55ba4b (patch) | |
tree | 00a20bb784a3cf964a99dde9232afa0c355c2eba | |
parent | eba78af8b5fefb50a6f0bef3d9f3cae1a4707e51 (diff) |
Partial revert of #9941 to fix rolling issuesfix/rolling
-rw-r--r-- | quantum/action.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/action.c b/quantum/action.c index 16fefa9e43..3ce746dbe8 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -316,6 +316,11 @@ void process_action(keyrecord_t *record, action_t action) { uint8_t tap_count = record->tap.count; #endif + if (event.pressed) { + // clear the potential weak mods left by previously pressed keys + clear_weak_mods(); + } + #ifndef NO_ACTION_ONESHOT bool do_release_oneshot = false; // notice we only clear the one shot layer if the pressed key is not a modifier. |