Default boost binding is currentKey: "Shift" with no modifiers. onKeyDown always passes shift: event.shiftKey, and a Shift keydown has shiftKey === true. KeybindingManager.matchesKeybinding then rejects the press because !!modifiers.shift !== !!kbMods.shift.
Result: the default Shift boost never engages (or releases) through the real keyboard path.
Store modifiers: { shift: true } on the boost binding, or
When the bound key itself is Shift/Control/Alt/Meta, do not treat that key's own modifier bit as an extra required modifier.
Caught by space-game.component.logic.spec.ts (Wave 7 a2).
Default boost binding is `currentKey: "Shift"` with no `modifiers`. `onKeyDown` always passes `shift: event.shiftKey`, and a Shift keydown has `shiftKey === true`. `KeybindingManager.matchesKeybinding` then rejects the press because `!!modifiers.shift !== !!kbMods.shift`.
Result: the default Shift boost never engages (or releases) through the real keyboard path.
Repro: space-game, press Shift — `isBoostActive` stays false.
Fix options:
- Store `modifiers: { shift: true }` on the boost binding, or
- When the bound key itself is Shift/Control/Alt/Meta, do not treat that key's own modifier bit as an extra required modifier.
Caught by `space-game.component.logic.spec.ts` (Wave 7 a2).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Default boost binding is
currentKey: "Shift"with nomodifiers.onKeyDownalways passesshift: event.shiftKey, and a Shift keydown hasshiftKey === true.KeybindingManager.matchesKeybindingthen rejects the press because!!modifiers.shift !== !!kbMods.shift.Result: the default Shift boost never engages (or releases) through the real keyboard path.
Repro: space-game, press Shift —
isBoostActivestays false.Fix options:
modifiers: { shift: true }on the boost binding, orCaught by
space-game.component.logic.spec.ts(Wave 7 a2).Fixed in
spikersoft-angularPR #823 (a0f0ccd9). Closing.