mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-24 08:01:27 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
ab6d07b585
@ -117,6 +117,10 @@ void preprocess_tap_dance(uint16_t keycode, keyrecord_t *record) {
|
|||||||
action->state.interrupting_keycode = keycode;
|
action->state.interrupting_keycode = keycode;
|
||||||
process_tap_dance_action_on_dance_finished(action);
|
process_tap_dance_action_on_dance_finished(action);
|
||||||
reset_tap_dance(&action->state);
|
reset_tap_dance(&action->state);
|
||||||
|
|
||||||
|
// Tap dance actions can leave some weak mods active (e.g., if the tap dance is mapped to a keycode with
|
||||||
|
// modifiers), but these weak mods should not affect the keypress which interrupted the tap dance.
|
||||||
|
clear_weak_mods();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user