1
0
Fork 0
mirror of https://github.com/xpipe-io/xpipe.git synced 2025-04-22 12:13:25 +00:00

Fix expand button being enabled with no children shown

This commit is contained in:
crschnick 2024-05-27 16:52:15 +00:00
parent d62047d56b
commit 9c565de56b

View file

@ -101,7 +101,7 @@ public class StoreSectionMiniComp extends Comp<CompStructure<VBox>> {
+ section.getWrapper().getName().getValue();
},
section.getWrapper().getName()))
.disable(Bindings.size(section.getAllChildren()).isEqualTo(0))
.disable(Bindings.size(section.getShownChildren()).isEqualTo(0))
.grow(false, true)
.styleClass("expand-button");