Skip to content

Place the top bar between the vanilla header and the mods panel - #1

Merged
Hellfrosted merged 2 commits into
Hellfrosted:mainfrom
jciurc:pr/top-bar-header-buttons
Oct 25, 2026
Merged

Hellfrosted merged 2 commits into
Hellfrosted:mainfrom
jciurc:pr/top-bar-header-buttons

Conversation

@jciurc

@jciurc jciurc commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

The profile bar in mod settings is positioned to the right of the "Installed Mods" title, which overlaps with the "Make Mods" and "Get Mods" buttons. This fix places the profile bar beneath the vanilla header, above the left panel. The now unused ShouldStackTopBar calculations and related tests were removed.

[Before]
image

[After]
image

Version
Tested on Slay the Spire 2 v0.111.0 (public-beta), Windows, 2560x1440 and various windowed sizes

🤖 Claude Code was used to generate the code.

jciurc added 2 commits October 4, 2026 22:36
Inline on the title row, the profile bar covered the vanilla Make Mods and
Get Mods buttons. Always lay it out at the panel's width, directly under the
header: lower the panel's top edge by the bar's height and keep the header
where it was.

Generated with Claude Code (Claude Opus 5.5)
The top bar is always placed under the vanilla header now, so the inline
title-row layout, ShouldStackTopBar (and its rule and test), and the
TopBarGap / TopBarTrailingPadding constants are no longer used.

Generated with Claude Code (Claude Opus 5.5)
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