Open the SpireLens menu outside runs too #347
No reviewers
Labels
No labels
4-29
bug
documentation
duplicate
enhancement
flow improvement
good first issue
help wanted
invalid
investigating
issue-agent
issue-agent-blocked
issue-agent-complete
issue-agent-pr-open
issue-agent-runner-nelsonlaptop
issue-agent-runner-nelsonpc
issue-agent-runner-nelsonpc-user
issue-agent-running
needs-verification
next to do
question
queue
recon
relics-stats-onboarding
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens!347
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/save-state-on-death-b0ebe8"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The gap
StatsVisibilityHotkeyPatch.CanTogglegated the Left Shift / R3 hotkeys onIsRunGameplaySurface(): a run in progress, and not one of the screens sharingthe capstone submenu stack. Two consequences the player hits directly:
relevance, "show cards not in deck", meta-card visibility and the relic bar
filter all change what the Compendium and deck views show, and the menu
closest to that content was exactly where the hotkey refused to open.
after a death is offered once the player has left the game-over screen
(#345). The feature was reachable only from that screen.
The commit that introduced the gate ("Limit options hotkeys to active runs", in
the #287 merge) recorded no reason for it, and the guards that matter are
separate and kept.
The fix
CanToggleno longer asks where in the game the player is. What staysexcluded is input that belongs to something else: an unfocused window, a
platform overlay, a screen transition, the dev console, a focused
LineEdit/TextEdit, and a live key rebind inNInputSettingsPanel. R3 isnot a remappable game action, and Shift still yields to a game binding if one
is ever assigned.
IsRunGameplaySurfaceand its two now-unused usings are gone.unavailable (no run in progress)outside one, and activating it doesnothing — the same shape the restart row already uses. Refreshed on open, so
it tracks whichever surface the menu was opened from.
Risk
The removed gate's purpose was undocumented. The plausible one is controller
input reaching both the SpireLens menu and the screen behind it on Pause,
Settings or the Compendium; the menu marks input handled while open, which is
what keeps that from happening on gameplay surfaces today. No live behavioural
verification was run (deployed and hot-reloaded only), so that is the thing to
watch on those screens.