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

+1 -6
View File
@@ -69,12 +69,7 @@ func Combobox(c *ui.Context, value *string, options []string, opts ComboboxOptio
p.Input.Focus()
}
open := p.Open()
arrow.Draw(func(pt *ui.Painter, r ui.Rect) {
if open {
r.Y, r.H = r.Y+r.H, -r.H
}
internal.Chevron(pt, r, false, k.TextMuted)
})
arrow.Draw(func(pt *ui.Painter, r ui.Rect) { internal.Mark(pt, r, selectChevron(open), k.TextMuted) })
})
in := p.Input
if f.Clicked() {