From 3ac1a89c2587fd97e58900f1162fad21048b0577 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:24:49 -0300 Subject: pardes: TAG_GAP goes, a knob with one value (0): TAG_TEXT_INSET is the gutter, the tag's zero-width gap fill and its two offsets in draw and mouse go, and the test blocks behind `TAG_GAP > 0` that could never run Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/column_drag.zig | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test/column_drag.zig') diff --git a/test/column_drag.zig b/test/column_drag.zig index a089ab4a..f8f6344b 100644 --- a/test/column_drag.zig +++ b/test/column_drag.zig @@ -153,14 +153,6 @@ test "column grip is separate from compact text and the resize seam" { try std.testing.expectEqual(pardes.FontRole.tagline, surface.at(rect.x + pardes.TAG_TEXT_INSET, pardes.TOPBAR_H).style.font_role); try std.testing.expectEqual(pardes.FontRole.tagline, surface.at(rect.x + pardes.TAG_TEXT_INSET, pane_tag_y).style.font_role); } - if (pardes.TAG_GAP > 0) { - const gap_x = p.col_x[1] + config.GUTTER; - try std.testing.expectEqualStrings(" ", p.surface.at(gap_x, pardes.TOPBAR_H).grapheme()); - mouse(p, .press, gap_x); - try std.testing.expect(p.drag != .column_move); - try std.testing.expect(!p.header_drag); - mouse(p, .release, gap_x); - } p.update(.{ .mouse = headerMouse(layer, 0, .press) }); try std.testing.expect(p.drag != .column_move); try std.testing.expect(p.header_drag); -- cgit v1.3