diff options
Diffstat (limited to 'src/ninep/events.zig')
| -rw-r--r-- | src/ninep/events.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/events.zig b/src/ninep/events.zig index e0a67ad4..a4094e57 100644 --- a/src/ninep/events.zig +++ b/src/ninep/events.zig @@ -1374,7 +1374,7 @@ test "a click in the body reports the offsets of the word it takes, so the recor _ = try p.render(frame.allocator()); const rect = p.rects[id]; const x0 = rect.x + config.GUTTER + config.PREFIX_W; - const y0 = if (p.settings.tag_bottom) rect.y else rect.y + p.panes[id].?.tag_rows; + const y0 = rect.y + p.panes[id].?.tag_rows; const tab: u16 = config.tab_now; const Click = struct { x: u16, y: u16, look: []const u8, exec: []const u8, scroll: i32 = 0 }; // Where the wrapped line's `qty` landed, as drawn. |
