voelin-gpui: a banner row shows its selection and its hover over the picture
A channel row paints its selected and hover backgrounds on the row, and the banner picture, drawn from the indent on, covers them: a banner row showed a strip of hover left of the picture and no selection at all. channels.slint tints the hover over the picture with a translucent child (surface-3 at 50 %), as the own channel's tint is drawn here; the row now does the same, with a child above the veil for the selected row (surface 3 at 75 %, a state Slint has none for) and one for the hover (50 %, through the row's group, so the pointer anywhere on the row tints it). Our own channel keeps its accent tint. A test selects two banner rows of the sample server in turn and finds the tint on the selected one only; docs/ui/gpui-tree-banner-selected-dark.png shows Raid Night selected and the pointer on Music (release build, lavapipe on Xvfb :233 with openbox). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cc143f312d
commit
f28c02a18c
4 files changed
+73
-6
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 142 KiB |
Reference in new issue
Block a user