Jelajahi Sumber

Merge remote-tracking branch 'origin/develop' into xap

QMK Bot 3 bulan lalu
induk
melakukan
7921745b46
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      quantum/action.c

+ 3 - 1
quantum/action.c

@@ -879,7 +879,9 @@ void process_action(keyrecord_t *record, action_t action) {
                     wait_ms(TAP_CODE_DELAY);
                     tap_code(action.layer_tap.code);
                     wait_ms(TAP_CODE_DELAY);
-                    unregister_mods(retro_tap_curr_mods);
+                    // Only unregister the mods that were active at the time of
+                    // the tap and are not independently held by other keys.
+                    unregister_mods(retro_tap_curr_mods & ~curr_mods);
 #        endif
                 }
                 retro_tap_primed = false;