avoid layer inception
parent
20343f60b9
commit
3bfad0fb5c
|
@ -220,6 +220,7 @@ void layer_disable(layer l) {
|
|||
for (u8 row=0; row<KB_ROWS; row++) {
|
||||
for (u8 col=0; col<KB_COLUMNS; col++) {
|
||||
if (layers_pressed[row][col] == l) {
|
||||
layers_pressed[row][col] = 0;
|
||||
exec_key(l, row, col, false);
|
||||
layers_pressed[row][col] = layers_top;
|
||||
exec_key(layers_top, row, col, true);
|
||||
|
|
Loading…
Reference in New Issue