Skip to content

Fix HUD vanishing after closing the Instant Actions menu#8

Open
pgfrank1 wants to merge 2 commits into
nnnextra:masterfrom
pgfrank1:master
Open

Fix HUD vanishing after closing the Instant Actions menu#8
pgfrank1 wants to merge 2 commits into
nnnextra:masterfrom
pgfrank1:master

Conversation

@pgfrank1
Copy link
Copy Markdown

StardewUI's menu (DocumentViewMenu) sets Game1.displayHUD = false while open and never restores it on close. Because the radial wheel has already closed by the time that menu opens, StarControl's own HUD save/restore never covers it, so the HUD stayed hidden after closing Instant Actions -- and the latched-off value then poisoned the wheel's HUD capture on the next open, requiring F4 to recover.

Capture the HUD state in OpenRemappingMenu and restore it via the menu controller's Closing event (the cleanupBeforeExit lifecycle hook that fires at actual close time; Closed fires at open).

flyingsausage87 and others added 2 commits May 30, 2026 21:40
StardewUI's menu (DocumentViewMenu) sets Game1.displayHUD = false while open
and never restores it on close. Because the radial wheel has already closed by
the time that menu opens, StarControl's own HUD save/restore never covers it, so
the HUD stayed hidden after closing Instant Actions -- and the latched-off value
then poisoned the wheel's HUD capture on the next open, requiring F4 to recover.

Capture the HUD state in OpenRemappingMenu and restore it via the menu
controller's Closing event (the cleanupBeforeExit lifecycle hook that fires at
actual close time; Closed fires at open).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The Deploy target copied StarControl.Gmcm.dll to
$(SolutionDir)StarControl/assets/extensions, which assumes the solution sits
beside the StarControl project. In a monorepo where the .sln lives elsewhere,
this created a stray StarControl/ folder at the solution root and the extension
never reached the deployed mod, so keybinding sync silently failed with
"GMCM extension not found".

Deploy directly into the game's deployed mod folder via $(GameModsPath), which
is exactly where StarControl loads it from at runtime
(Helper.DirectoryPath/assets/extensions/StarControl.Gmcm.dll). Guarded on
GameModsPath being set so a CI build without a game install won't fail.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants