diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:57 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:26:23 -0300 |
| commit | ebe561b8083782a105a2ee29fb0a031d1c2427d3 (patch) | |
| tree | 73d8fae6c7345449b6235b54a44eba87655823d9 /src/pardes.zig | |
| parent | 6560da36cf8111575cd3fec443a42de6eff82f5f (diff) | |
| download | pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.tar.gz pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.zip | |
Keep column grips blank and muted in every focus state
Diffstat (limited to 'src/pardes.zig')
| -rw-r--r-- | src/pardes.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pardes.zig b/src/pardes.zig index 91605d38..bd7c43e9 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -13262,7 +13262,7 @@ pub const Pardes = struct { const active_col = if (layout.findPane(p, p.active)) |f| f.col == c else false; const bg = if (active_col and p.settings.focus_tint) chrome.tag_active_bg else chrome.tag_bg; const fg = if (active_col and p.settings.focus_tint) chrome.tag_active_fg else chrome.tag_fg; - const grip_bg = if (active_col) chrome.column_box else chrome.column_box_dim; + const grip_bg = chrome.column_box_dim; const lum = (@as(u16, grip_bg[0]) * 3 + @as(u16, grip_bg[1]) * 6 + @as(u16, grip_bg[2])) / 10; const ink: [3]u8 = if (lum > 140) .{ 0, 0, 0 } else .{ 255, 255, 255 }; const grip_style: CellStyle = .{ .bg = .{ .rgb = grip_bg }, .fg = .{ .rgb = ink }, .font_role = .tagline }; |
