summaryrefslogtreecommitdiff
path: root/src/look.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-28 17:56:30 -0300
committerGabriel Schneider <[email protected]>2026-10-28 21:05:39 -0300
commitbe98a09274b597649fe8a53eb3ce43f7151201d7 (patch)
treeb3a6d15c6d21e4fde48c7dfd6aeab5408f6a97ce /src/look.zig
parentf8fb785c9572855943713181d738b72ea494b7d5 (diff)
downloadpardes-be98a09274b597649fe8a53eb3ce43f7151201d7.tar.gz
pardes-be98a09274b597649fe8a53eb3ce43f7151201d7.zip
draw: no dashed hint on hovering a column's edge or corner (columns resize by their grips; a drag still draws its guide); cornerdrag, cornerdrag-left, tagalign2col, windowops goldens: the hover frames without the dashes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/look.zig')
-rw-r--r--src/look.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/look.zig b/src/look.zig
index ede7d910..1a574212 100644
--- a/src/look.zig
+++ b/src/look.zig
@@ -2010,15 +2010,9 @@ test "Look hover waits without mutating the pane and input cancels it" {
const seam_x = p.col_x[0] + p.col_w[0] - 1;
p.update(.{ .mouse = .{ .button = .none, .kind = .motion, .col = seam_x, .row = body_y } });
- _ = frame.reset(.retain_capacity);
- const hovered_seam = try p.render(frame.allocator());
- try std.testing.expectEqualStrings("╎", hovered_seam.at(seam_x, body_y).grapheme());
p.update(.pointer_leave);
try std.testing.expect(p.look_hover_wait == null);
try std.testing.expect(p.look_hover_preview == null);
- _ = frame.reset(.retain_capacity);
- const left_seam = try p.render(frame.allocator());
- try std.testing.expect(!std.mem.eql(u8, "╎", left_seam.at(seam_x, body_y).grapheme()));
const blank_x = rect.x + config.GUTTER + config.PREFIX_W + 30;
p.update(.{ .mouse = .{ .button = .none, .kind = .motion, .col = blank_x, .row = body_y } });