mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: titlebar styling always applies to titlebar tabs
This commit is contained in:
@ -138,8 +138,12 @@ class TerminalWindow: NSWindow {
|
|||||||
|
|
||||||
// The remainder of the styles we only apply if we're on "auto" theming
|
// The remainder of the styles we only apply if we're on "auto" theming
|
||||||
// because they conflict with the appearance being forced a certain
|
// because they conflict with the appearance being forced a certain
|
||||||
// direction. See issue #1709.
|
// direction. Titlebar tabs are excluded (they always style the titlebar)
|
||||||
guard let windowTheme, windowTheme == .auto else { return }
|
// because historically this is how they've always worked. So this
|
||||||
|
// exclusion only applies to native tabs. See issue #1709.
|
||||||
|
if let windowTheme, windowTheme != .auto && !titlebarTabs {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
titlebarSeparatorStyle = tabbedWindows != nil && !titlebarTabs ? .line : .none
|
titlebarSeparatorStyle = tabbedWindows != nil && !titlebarTabs ? .line : .none
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user