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
@@ -16,8 +16,8 @@ type AppFrameOptions struct {
// AppFrame arranges header, sidebar, main and footer; nil ones vanish.
func AppFrame(c *ui.Context, o AppFrameOptions, header, sidebar, main, footer func()) *ui.Element {
k := pixel.K(c)
sw := orDef("AppFrame SidebarWidth", o.SidebarWidth, 96)
fold := orDef("AppFrame FoldBelow", o.FoldBelow, 320)
sw := pixel.Or("AppFrame SidebarWidth", o.SidebarWidth, 96)
fold := pixel.Or("AppFrame FoldBelow", o.FoldBelow, 320)
if main == nil {
panic("layout: AppFrame needs main")
}