mirror of
https://github.com/qmk/qmk_userspace.git
synced 2026-07-25 11:05:57 -04:00
The menu part of the space key now only triggers on the base layer
This commit is contained in:
parent
ae127e9b50
commit
1b691104fc
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t* record) {
|
|||
case KC_SPC:
|
||||
// have to implement this here instead of as a key override because it was acting
|
||||
// weird with layers as a key override
|
||||
if (get_highest_layer(layer_state) == _GAME) {
|
||||
if (get_highest_layer(layer_state) != _BASE) {
|
||||
return true; // return early
|
||||
}
|
||||
if (record->event.pressed) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue