Add feedback components 106-130; inert scope, focus return, two-step deploy

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 20:58:30 -04:00
1 parent bce416182e
commit bd3877e1b1
87 files changed
+2492 -147

No files matched your search

+3 -3
View File
@@ -27,9 +27,9 @@ type GridOptions struct {
// Grid lays n cells in equal columns, lines between them.
func Grid(c *ui.Context, n int, o GridOptions, cell func(i int)) *ui.Element {
k := pixel.K(c)
cols := orDef("Grid Columns", o.Columns, 2)
pad := orDef("Grid Pad", o.Pad, 4)
orDef("Grid n", n, 0)
cols := pixel.Or("Grid Columns", o.Columns, 2)
pad := pixel.Or("Grid Pad", o.Pad, 4)
pixel.Or("Grid n", n, 0)
if o.Lines > DottedLines {
panic(fmt.Sprintf("layout: unknown grid lines %d", o.Lines))
}