Skip to content

Commit b169bd8

Browse files
Add hotkey for toggling all indicators
1 parent 3b7e825 commit b169bd8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

client/src/client-config.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ export const ConfigPage: React.FC<Props> = (props) => {
105105

106106
if (keyboard.keyCode === 'KeyF')
107107
context.updateConfigValue('focusRobotTurn', !context.state.config.focusRobotTurn)
108+
if (keyboard.keyCode === 'KeyI')
109+
context.updateConfigValue('showAllIndicators', !context.state.config.showAllIndicators)
108110
}, [keyboard.keyCode])
109111

110112
if (!props.open) return null

client/src/components/sidebar/help/help.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ export const HelpPage: React.FC<Props> = (props) => {
132132
)}
133133
{hotkeyElement(`R`, 'Resets the map camera if it has been panned/zoomed')}
134134
{hotkeyElement(`C`, 'Hides and unhides game control bar')}
135+
{hotkeyElement(`F`, 'Toggles the show all indicators config')}
135136
{hotkeyElement(`T`, 'Toggles per-turn playback for the current game')}
136137
{hotkeyElement(`F`, 'Toggles per-turn robot focus config')}
137138
{hotkeyElement(`.`, 'Skip to the very last round of the current game')}

0 commit comments

Comments
 (0)