Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify hotkeys to add 0 and SPC for pause #120

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Compositor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { setSpeed } from "../reducers/Game";
import { store } from "../Store";

const keyMap = {
PAUSED: "`",
PAUSED: ["`", "space", "0"],
SLOW: "1",
NORMAL: "2",
FAST: "3",
Expand Down
2 changes: 1 addition & 1 deletion src/data/Scenarios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const SCENARIOS = [
target: "#speedChangeButtons",
content: (
<Typography variant="body1">
Start the game by unpausing it. (Hotkeys: ~/1/2/3)
Start the game by unpausing it. Hotkeys are in a row: `/1/2/3. Space and 0 also pause.
<br />
<br />
This tutorial will run for 1 year. Try building different types of
Expand Down