mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
formatting
This commit is contained in:
parent
1675a2811c
commit
a778015a21
@ -38,10 +38,7 @@ export function BackwardGame(props: IMinigameProps): React.ReactElement {
|
|||||||
const hasAugment = Player.hasAugmentation(AugmentationNames.ChaosOfDionysus, true);
|
const hasAugment = Player.hasAugmentation(AugmentationNames.ChaosOfDionysus, true);
|
||||||
|
|
||||||
function ignorableKeyboardEvent(event: KeyboardEvent): boolean {
|
function ignorableKeyboardEvent(event: KeyboardEvent): boolean {
|
||||||
return event.key === KEY.BACKSPACE
|
return event.key === KEY.BACKSPACE || (event.shiftKey && event.key === "Shift") || event.ctrlKey || event.altKey;
|
||||||
|| (event.shiftKey && event.key === "Shift")
|
|
||||||
|| event.ctrlKey
|
|
||||||
|| event.altKey;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function press(this: Document, event: KeyboardEvent): void {
|
function press(this: Document, event: KeyboardEvent): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user