Choices: components 031-040

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 12:32:37 -04:00
1 parent e538f88d5d
commit 325667cd10
23 files changed
+27 -44

No files matched your search

+3 -1
View File
@@ -217,7 +217,9 @@ func treeSelectRowView(c *ui.Context, st *treeSelectState, selected *[]string, r
if arrow.Hovered() {
arrow.Background(k.SurfaceHover)
}
arrow.Draw(func(p *ui.Painter, rc ui.Rect) { internal.Chevron(p, rc, !open, k.TextMuted) })
arrow.Draw(func(p *ui.Painter, rc ui.Rect) {
internal.Mark(p, rc, map[bool]string{true: "chevron-down", false: "chevron-right"}[open], k.TextMuted)
})
}
state := treeSelectCheck(n, *selected, opts)
var b *ui.Element