Skip to content

Commit

Permalink
Fix a bug with layer keys
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlK90 committed Oct 14, 2021
1 parent 30f3be6 commit dfb777e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quantum/action_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ void layer_state_set(layer_state_t state) {
dprintln();
# ifdef STRICT_LAYER_RELEASE
clear_keyboard_but_mods(); // To avoid stuck keys
# else
clear_keyboard_but_mods_and_keys(); // Don't reset held keys
# endif
// clear_keyboard_but_mods_and_keys(); // Don't reset held keys
}

/** \brief Layer clear
Expand Down

0 comments on commit dfb777e

Please sign in to comment.