summaryrefslogtreecommitdiff
path: root/src/Layer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Layer.zig')
-rw-r--r--src/Layer.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Layer.zig b/src/Layer.zig
index deca3466..aa346413 100644
--- a/src/Layer.zig
+++ b/src/Layer.zig
@@ -276,7 +276,7 @@ pub fn taglineBandOffset(row: u16, canvas_h: f32, cell_h: u32, tagline_h: u32) u
const rows: u32 = @max(1, @as(u32, @intFromFloat(@floor(canvas_h / @as(f32, @floatFromInt(cell_h))))));
// Every band centers in its cell, so text and anchors sit at the same
// height in the workspace, column and pane tags alike. Only the last row
- // faces the window edge (Tagbottom).
+ // faces the window edge.
if (@as(u32, row) + 1 >= rows) return spare;
return spare / 2;
}
@@ -286,7 +286,7 @@ pub fn topbarPaneBorderPixels(cell_h: u32, tagline_h: u32) u32 {
return @min(@as(u32, config.gui_topbar_pane_border_px), spare * 2);
}
-test "tagline bands center in their cells and Tagbottom faces the window edge" {
+test "tagline bands center in their cells and the last row faces the window edge" {
const cell_h: u32 = 20;
const tagline_h: u32 = 16;
const canvas_h: f32 = 200;