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

+1 -1
View File
@@ -15,7 +15,7 @@ type ScreenOptions struct {
// Screen fills the window with Back; children form a column.
func Screen(c *ui.Context, o ScreenOptions, children func()) *ui.Element {
k := pixel.K(c)
pad := orDef("Screen Padding", o.Padding, 0)
pad := pixel.Or("Screen Padding", o.Padding, 0)
return ui.Column(c).Fill().Padding(k.D(pad)).Draw(func(p *ui.Painter, r ui.Rect) {
g := k.Canvas(p, r)
g.Rect(0, 0, g.W, g.H, pixel.Back)