Skip to content

Fix sidebar + toolbar interaction#38

Merged
nicosuave merged 1 commit intomainfrom
fix-sidebar-toolbar-interaction
Apr 5, 2026
Merged

Fix sidebar + toolbar interaction#38
nicosuave merged 1 commit intomainfrom
fix-sidebar-toolbar-interaction

Conversation

@nicosuave
Copy link
Copy Markdown
Member

Summary

  • Overrides macos-titlebar-style = tabs and hidden to use the transparent titlebar nib instead
  • The tabs style installs its own toolbar without a sidebarTrackingSeparator, causing the Worktrunk sidebar to be truncated by the toolbar/tab bar region
  • The hidden style removes the titlebar entirely, losing the sidebar toggle button
  • Both now fall back to transparent, which properly installs the WorktrunkToolbar with sidebar tracking

Fixes #27

The "tabs" and "hidden" macos-titlebar-style values don't work with the
Worktrunk sidebar. "tabs" installs its own toolbar without a sidebar
tracking separator, causing the sidebar to be truncated by the toolbar.
"hidden" removes the titlebar entirely, losing the sidebar toggle button.

Override both to use the "transparent" titlebar, which properly installs
the WorktrunkToolbar with a sidebarTrackingSeparator.

Fixes #27
@nicosuave nicosuave merged commit 85e4219 into main Apr 5, 2026
122 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.

Fix Sidebar + toolbar interaction

1 participant