formatting

This commit is contained in:
Dane Horn 2022-05-09 09:56:44 +02:00
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 {