Skip to content

Remove the toolbar show/hide toggle - #207

Merged
aperson30 merged 1 commit into
mainfrom
chore/remove-toolbar-toggle-gear
Aug 28, 2026
Merged

Remove the toolbar show/hide toggle#207
aperson30 merged 1 commit into
mainfrom
chore/remove-toolbar-toggle-gear

Conversation

@aperson30

@aperson30 aperson30 commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Removed the toolbar's show/hide toggle entirely - the toolbar is now always visible, no gear button anywhere. The floating reveal-gear kept clashing with the axial pane's own corner label no matter where it was placed across a few attempts, and wasn't worth the trouble for what it bought. Removing just the floating gear would have left the "Hide toolbar" button inside the toolbar as a dead end (click it, no way back without reloading), so both sides of the toggle came out together.

Also cleaned up: the now-dead showToolbar state, the --vp-topbar-h sync effect's now-unnecessary conditional branch, and the axial-label positioning hack that only existed to dodge the floating gear.

Test plan

  • npm run build - clean
  • vitest run - 298/298 passing
  • Manual: open the viewer, confirm the toolbar is always there with no gear/hide control anywhere

The floating reveal-gear kept clashing with the axial pane's own label
no matter where it was placed, and wasn't worth carrying. Removed both
sides of the toggle (the "Hide toolbar" button inside the toolbar and
the floating gear that brought it back) rather than leaving a hide
action with no way back - the toolbar just always shows now. Cleaned up
the now-dead showToolbar state, the --vp-topbar-h effect's conditional
branch, and the axial-label positioning hack that only applied while
the gear was showing.
@aperson30
aperson30 merged commit 1bc8fd2 into main Aug 28, 2026
8 checks passed
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.

1 participant