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
@@ -16,7 +16,7 @@ type PlaceholderOptions struct {
// Placeholder is a dithered box with a cross and size.
func Placeholder(c *ui.Context, o PlaceholderOptions) *ui.Element {
k := pixel.K(c)
w, h := orDef("Placeholder W", o.W, 64), orDef("Placeholder H", o.H, 48)
w, h := pixel.Or("Placeholder W", o.W, 64), pixel.Or("Placeholder H", o.H, 48)
size := fmt.Sprintf("%d×%d", w, h)
return art(c, k, size, w, h, func(g pixel.Canvas) {
if w < 3 || h < 3 {