Data: review r1 fixes

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 12:45:45 -04:00
1 parent a27727bc71
commit 7401fc9bf2
38 files changed
+602 -148

No files matched your search

+2 -1
View File
@@ -85,7 +85,8 @@ func collapsiblePanel(c *ui.Context, open bool, prog float32, fn func()) *ui.Ele
if !open && prog == 0 {
return nil
}
clip := ui.Column(c).Shrink(0)
// Closing content takes no input or focus while it shrinks away.
clip := ui.Column(c).Shrink(0).Disabled(!open)
var inner *ui.Element
clip.Children(func() {
inner = ui.Column(c).Shrink(0)