summaryrefslogtreecommitdiff
path: root/anim/src/loupe.zig
diff options
context:
space:
mode:
Diffstat (limited to 'anim/src/loupe.zig')
-rw-r--r--anim/src/loupe.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/anim/src/loupe.zig b/anim/src/loupe.zig
index 4ffe860..d3ae878 100644
--- a/anim/src/loupe.zig
+++ b/anim/src/loupe.zig
@@ -118,10 +118,10 @@ pub const Loupe = struct {
const b = back.apply(.{ px[2], px[3] });
pointer = .{ .x = a[0], .y = a[1], .w = b[0] - a[0], .h = b[1] - a[1] };
target = row.fields.base;
- // From the band's view it lies over the stack, never the registers (what a step changes there is what the captions are about).
+ // From the band's view it lies over the stack's first rows, its tag on the stack's, never over the registers (what a step changes there is what the captions are about).
const stack = l.stage.box(u.at, .stack);
const h = theme.layout.panelH(k.rows);
- return .{ .box = .{ .x = stack.x, .y = stack.y + stack.h - h, .w = k.width, .h = h }, .pointer = pointer, .target = target, .first = target, .ink = rows.ink(rows.regionOf(moment, target)) };
+ return .{ .box = .{ .x = stack.x, .y = stack.y, .w = k.width, .h = h }, .pointer = pointer, .target = target, .first = target, .ink = rows.ink(rows.regionOf(moment, target)) };
},
}
if (target == 0) return null;