mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
...
This commit is contained in:
@@ -3294,7 +3294,7 @@ set_title_bar_background(NSWindow *window, NSColor *backgroundColor) {
|
|||||||
if (!backgroundColor) return;
|
if (!backgroundColor) return;
|
||||||
|
|
||||||
const CGFloat height = title_bar_and_tool_bar_height(window);
|
const CGFloat height = title_bar_and_tool_bar_height(window);
|
||||||
debug_rendering("titlebar_height used for translucent titlebar view: %f", height);
|
debug_rendering("titlebar_height used for translucent titlebar view: %f\n", height);
|
||||||
NSView *bgView = [[NSView alloc] initWithFrame:NSMakeRect(
|
NSView *bgView = [[NSView alloc] initWithFrame:NSMakeRect(
|
||||||
0, titlebarContainer.bounds.size.height - height, titlebarContainer.bounds.size.width, height)];
|
0, titlebarContainer.bounds.size.height - height, titlebarContainer.bounds.size.width, height)];
|
||||||
bgView.autoresizingMask = NSViewWidthSizable | NSViewMinYMargin;
|
bgView.autoresizingMask = NSViewWidthSizable | NSViewMinYMargin;
|
||||||
|
|||||||
Reference in New Issue
Block a user