Navigation: review r2 fixes

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 13:04:05 -04:00
1 parent cfdccfec5c
commit 01f5c1ca08
16 files changed
+196 -31

No files matched your search

+1 -2
View File
@@ -13,8 +13,7 @@ type ToolbarOptions struct {
Label string
}
// Toolbar is a row of actions built by fn, one Tab stop with arrow keys inside.
// Actions that do not fit move, from the last, into an overflow menu.
// Toolbar is one Tab stop of actions; those that do not fit go to an overflow menu.
func Toolbar(c *ui.Context, opts ToolbarOptions, fn func()) *ui.Element {
k := Tokens(c)
tb := ui.Toolbar(c, fn).Background(k.Surface).Border(theme.BorderWidth, k.Border).Radius(theme.CardRadius).