added comment explaining fix

This commit is contained in:
Sahil Mishra
2026-06-15 10:12:44 -04:00
parent 749d45490a
commit c3ceb55f5f

View File

@@ -51,6 +51,7 @@ class TitlebarTabsTahoeTerminalWindow: TransparentTitlebarTerminalWindow, NSTool
self.toolbar = toolbar
toolbarStyle = .unifiedCompact
}
// Called after new tab finishes adjusting and setupTabBar is called in order to prevent Tab Bar hiding/size bug that occurs with some interactions with Mac UI
override func syncAppearance(_ surfaceConfig: Ghostty.SurfaceView.DerivedConfig) {
super.syncAppearance(surfaceConfig)
setupTabBar()