Skip to content

Feature/key bindings #391

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

Merged
merged 6 commits into from
Jul 18, 2020
Prev Previous commit
Next Next commit
disable reset when level complete
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
ShMcK committed Jul 18, 2020
commit 11fbb68fe89ea550362c3ab59563750e1e562b7b
2 changes: 1 addition & 1 deletion web-app/src/containers/Tutorial/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const TutorialPage = (props: PageProps) => {

{/* Center */}
<div css={{ flex: 1, display: 'flex', justifyContent: 'center' }}>
<Reset onReset={onReset} disabled={disableOptions} />
<Reset onReset={onReset} disabled={disableOptions || props.state === 'LevelComplete'} />
</div>

{/* Right */}
Expand Down