diff options
author | NapOli1084 <[email protected]> | 2023-09-24 22:53:12 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-25 12:53:12 +1000 |
commit | e0eb90aba127f6bceacc9112bb89cb86da19f768 (patch) | |
tree | 86e6a57a8926643ae7e2cda93daa06137d523dea /quantum/action.c | |
parent | f35dee5c05b02208716e4e76955ced71a67334eb (diff) | |
download | qmk_firmware-e0eb90aba127f6bceacc9112bb89cb86da19f768.tar.gz qmk_firmware-e0eb90aba127f6bceacc9112bb89cb86da19f768.zip |
Fix OSM on a OSL activated layer (#20410)
Diffstat (limited to 'quantum/action.c')
-rw-r--r-- | quantum/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/action.c b/quantum/action.c index 3b89431cea..349250472b 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -374,7 +374,7 @@ void process_action(keyrecord_t *record, action_t action) { if (is_oneshot_layer_active() && event.pressed && (action.kind.id == ACT_USAGE || !(IS_MODIFIER_KEYCODE(action.key.code) # ifndef NO_ACTION_TAPPING - || (tap_count == 0 && (action.kind.id == ACT_LMODS_TAP || action.kind.id == ACT_RMODS_TAP)) + || ((action.kind.id == ACT_LMODS_TAP || action.kind.id == ACT_RMODS_TAP) && (action.layer_tap.code <= MODS_TAP_TOGGLE || tap_count == 0)) # endif )) # ifdef SWAP_HANDS_ENABLE |