diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 20:11:51 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | 54c14c2e65fe15b097bef11919d6ec8d9fce411a (patch) | |
| tree | a3945447aa94fc20b00ed5cbf655e594b1565d95 /src/draw.zig | |
| parent | 6a49974e56521cf66c9a4d0eb579cd5de949891e (diff) | |
| download | pardes-54c14c2e65fe15b097bef11919d6ec8d9fce411a.tar.gz pardes-54c14c2e65fe15b097bef11919d6ec8d9fce411a.zip | |
An empty column shows its theme's empty_col: white in the acme theme, as acme paints it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/draw.zig')
| -rw-r--r-- | src/draw.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/draw.zig b/src/draw.zig index b12ab52c..8f2f95f9 100644 --- a/src/draw.zig +++ b/src/draw.zig @@ -189,6 +189,7 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface { // Separators have their own role; a scrollbar need not frame the page. const whole = s.regions[0].rect; s.fill(whole.x, whole.y, whole.w, whole.h, .{ .bg = .{ .rgb = chrome.border } }); + for (0..p.ncol) |c| if (p.col_n[c] == 0) s.fill(p.col_x[c], p.topBarHeight() + p.columnBarHeight(), p.col_w[c], s.rows -| (p.topBarHeight() + p.columnBarHeight()), .{ .bg = .{ .rgb = chrome.empty_col } }); for (&p.panes, 0..) |*slot, id| { const pane = slot.* orelse continue; |
