diff --git a/macos/Sources/Features/Terminal/TerminalWindow.swift b/macos/Sources/Features/Terminal/TerminalWindow.swift index 395a1bd8d..b4194c113 100644 --- a/macos/Sources/Features/Terminal/TerminalWindow.swift +++ b/macos/Sources/Features/Terminal/TerminalWindow.swift @@ -242,6 +242,7 @@ class TerminalWindow: NSWindow { newTabButtonImageLayer = imageLayer } + newTabButtonImageView.layer?.sublayers?.first(where: { $0.className == "VibrantLayer" })?.removeFromSuperlayer() newTabButtonImageView.layer?.addSublayer(newTabButtonImageLayer!) newTabButtonImageView.image = nil // When we nil out the original image, the image view's frame resizes and repositions