summaryrefslogtreecommitdiff
path: root/quantum/action.c
diff options
context:
space:
mode:
authorIlya Zhuravlev <whatever@xyz.is>2024-06-23 22:54:29 -0600
committerIlya Zhuravlev <whatever@xyz.is>2024-06-23 22:54:29 -0600
commite9d70b410ab4350eaca599e5eb6542a91b156344 (patch)
treeb3ba67773c6838858b263f47bd01f7c6d84cd8bf /quantum/action.c
parentb02ff548caaaafd0ace516257bd93211f74e13eb (diff)
parent03e688e91f28d73416ada41c6db209c04d18cba7 (diff)
Merge remote-tracking branch 'qmk/master' into merge-2024-06-23
Diffstat (limited to 'quantum/action.c')
-rw-r--r--quantum/action.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/quantum/action.c b/quantum/action.c
index 8e027ccf37..fbbaa869b5 100644
--- a/quantum/action.c
+++ b/quantum/action.c
@@ -655,7 +655,6 @@ if (QS_oneshot_tap_toggle > 1) {
layer_off(action.layer_tap.val);
break;
} else if (tap_count < QS_oneshot_tap_toggle) {
- layer_on(action.layer_tap.val);
set_oneshot_layer(action.layer_tap.val, ONESHOT_START);
}
} else {
@@ -668,7 +667,6 @@ if (QS_oneshot_tap_toggle > 1) {
}
} else {
if (event.pressed) {
- layer_on(action.layer_tap.val);
set_oneshot_layer(action.layer_tap.val, ONESHOT_START);
} else {
clear_oneshot_layer_state(ONESHOT_PRESSED);