Reef Runner bank keyboard shortcut changes the run while paused #51

Closed
opened 2026-10-31 04:06:57 +00:00 by pedro · 1 comment
Owner

The B key invokes bank() without the pause guard applied to the Fire shortcut and bank button.

Reproduce: Start dive, Pause, press B. The Paused overlay stays visible but the run becomes Returning automatically; resuming forces ascent instead of continuing exploration.

Location: src/game/ReefRunner.tsx keydown handler.

Acceptance: B has no effect while paused; banking still works when actively swimming, including when game buttons have focus. Add a focused browser regression.

The B key invokes bank() without the pause guard applied to the Fire shortcut and bank button. Reproduce: Start dive, Pause, press B. The Paused overlay stays visible but the run becomes Returning automatically; resuming forces ascent instead of continuing exploration. Location: src/game/ReefRunner.tsx keydown handler. Acceptance: B has no effect while paused; banking still works when actively swimming, including when game buttons have focus. Add a focused browser regression.
Author
Owner

Fixed in 3dd512d; integrated in main at 3dd512d and deployed to production (deploy run 734 succeeded; hosted assets verified against the local build). pnpm verify: 176/176 tests, offline retention, typecheck, build and release checks pass.

Fixed in 3dd512d; integrated in main at 3dd512d and deployed to production (deploy run 734 succeeded; hosted assets verified against the local build). `pnpm verify`: 176/176 tests, offline retention, typecheck, build and release checks pass.
pedro closed this issue 2026-10-31 19:26:13 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pedro/DiveSim#51
No description provided.