mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Set titlebarAppearsTransparent for main window
This makes the title bar render in the same color as it did prior to building on 10.14, so that the current tab colors match. It does however make sheets appear from “above” the title bar and makes the Dark Mode style darker, so this is just an intermediate fix until the tab bar gets revamped for 10.14.
This commit is contained in:
@@ -187,6 +187,7 @@ static NSArray* const kObservedKeyPaths = @[ @"arrayController.arrangedObjects.p
|
||||
self.window.collectionBehavior = NSWindowCollectionBehaviorFullScreenPrimary;
|
||||
self.window.delegate = self;
|
||||
self.window.releasedWhenClosed = NO;
|
||||
self.window.titlebarAppearsTransparent = YES;
|
||||
[self.window setContentBorderThickness:0 forEdge:NSMaxYEdge]; // top border
|
||||
[self.window setContentBorderThickness:0 forEdge:NSMinYEdge]; // bottom border
|
||||
[self.window setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge];
|
||||
|
||||
Reference in New Issue
Block a user