mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-30 10:12:13 +00:00
GTK: Fix split-divider-color (#8853)
The `loadRuntimeCss416` overrode a color option for the split divider color https://github.com/ghostty-org/ghostty/blob/main/src/apprt/gtk/class/application.zig#L959-L965 I moved the user config options until the other runtime css is loaded so they will always take priority
This commit is contained in:
@@ -809,6 +809,10 @@ pub const Application = extern struct {
|
||||
|
||||
const writer = buf.writer(alloc);
|
||||
|
||||
// Load standard css first as it can override some of the user configured styling.
|
||||
try loadRuntimeCss414(config, &writer);
|
||||
try loadRuntimeCss416(config, &writer);
|
||||
|
||||
const unfocused_fill: CoreConfig.Color = config.@"unfocused-split-fill" orelse config.background;
|
||||
|
||||
try writer.print(
|
||||
@@ -847,9 +851,6 @@ pub const Application = extern struct {
|
||||
, .{ .font_family = font_family });
|
||||
}
|
||||
|
||||
try loadRuntimeCss414(config, &writer);
|
||||
try loadRuntimeCss416(config, &writer);
|
||||
|
||||
// ensure that we have a sentinel
|
||||
try writer.writeByte(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user