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 priority1.2.x
parent
7a3bbe0107
commit
4cb3aaece4
|
|
@ -741,6 +741,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(
|
||||
|
|
@ -779,9 +783,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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue