mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
Merge pull request #1490 from tt/keep-shadows-for-native-tab-bar
Keep shadows for native tab bar
This commit is contained in:
@ -40,6 +40,10 @@ class TerminalWindow: NSWindow {
|
||||
override func updateConstraintsIfNeeded() {
|
||||
super.updateConstraintsIfNeeded()
|
||||
|
||||
// For titlebar tabs, we want to hide the separator view so that we get rid
|
||||
// of an aesthetically unpleasing shadow.
|
||||
guard titlebarTabs else { return }
|
||||
|
||||
guard let titlebarContainer = contentView?.superview?.subviews.first(where: {
|
||||
$0.className == "NSTitlebarContainerView"
|
||||
}) else { return }
|
||||
|
Reference in New Issue
Block a user