diff options
Diffstat (limited to 'core/look.zig')
| -rw-r--r-- | core/look.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/look.zig b/core/look.zig index 3ce1e48c..7a488b0c 100644 --- a/core/look.zig +++ b/core/look.zig @@ -2154,7 +2154,8 @@ test "Look hover waits without mutating the pane and input cancels it" { const surface = try p.render(frame.allocator()); // On the selection's faint half (R7); a tag's (below) is the tags' own. try std.testing.expectEqual(Color{ .rgb = p.chrome().selection_secondary }, surface.at(word_x, body_y).style.bg); - const expected_bg = colors.mix(p.theme().bg orelse p.theme().tag_bg, colors.mix(p.theme().bg orelse p.theme().tag_bg, p.theme().sel_bg)); + // On the tag, its own ground's half selection (DESIGN.md B5). + const expected_bg = p.chrome().on(.focus).selection.secondary; // Background traffic in another pane does not change the text or geometry // under this pointer and must not strand a stationary hover unarmed. |
