From c3dbd324620d9a8fd1d2e32846dd6d511a9eeb1a Mon Sep 17 00:00:00 2001 From: Troels Thomsen Date: Fri, 9 Feb 2024 22:02:34 +0100 Subject: [PATCH] Keep shadows for native tab bar --- macos/Sources/Features/Terminal/TerminalWindow.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macos/Sources/Features/Terminal/TerminalWindow.swift b/macos/Sources/Features/Terminal/TerminalWindow.swift index 457b3bd08..6defc1158 100644 --- a/macos/Sources/Features/Terminal/TerminalWindow.swift +++ b/macos/Sources/Features/Terminal/TerminalWindow.swift @@ -40,6 +40,8 @@ class TerminalWindow: NSWindow { override func updateConstraintsIfNeeded() { super.updateConstraintsIfNeeded() + guard titlebarTabs else { return } + guard let titlebarContainer = contentView?.superview?.subviews.first(where: { $0.className == "NSTitlebarContainerView" }) else { return }