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

+2 -2
View File
@@ -18,10 +18,10 @@ func panics(t *testing.T, name string, fn func()) {
}
func TestOrDef(t *testing.T) {
if orDef("x", 0, 7) != 7 || orDef("x", 3, 7) != 3 {
if pixel.Or("x", 0, 7) != 7 || pixel.Or("x", 3, 7) != 3 {
t.Fatal("orDef did not default zero or keep a value")
}
panics(t, "negative option", func() { orDef("x", -1, 7) })
panics(t, "negative option", func() { pixel.Or("x", -1, 7) })
panics(t, "unknown frame style", func() { border(pixel.FrameStyle(99)) })
}