summaryrefslogtreecommitdiff
path: root/src/gui/gui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.zig')
-rw-r--r--src/gui/gui.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 7e60f0dc..c148c3fc 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -5726,7 +5726,7 @@ const ResolvedCell = struct {
role: pardes.FontRole,
};
-const taglineBandOffset = pardes.taglineBandOffset;
+const taglineBandOffset = pardes.Layer.taglineBandOffset;
/// The colours and atlas slot of `line[at]`. `cursor` is where the cursor sits
/// in `line`, block or bar: shaping breaks around it.
@@ -7996,7 +7996,7 @@ test "the rule between stacked panes stays in the tag band's slack, at any tagli
var groups: Groups = .{};
try buildDecor(&g, gpa, s, &groups, fixedCellLayout(&g), 800, 480, true);
const top = @as(f32, @floatFromInt(lower.rect.y)) * 20;
- const slack: f32 = @floatFromInt(@max(1, pardes.taglineBandOffset(lower.rect.y, 480, 20, tagline_h)));
+ const slack: f32 = @floatFromInt(@max(1, pardes.Layer.taglineBandOffset(lower.rect.y, 480, 20, tagline_h)));
var found = false;
for (g.decor.items) |item| {
const y0 = (1 - item.y0) / 2 * 480;