From 9c565de56baa26821bc80aa84ab9aa04a00f2390 Mon Sep 17 00:00:00 2001 From: crschnick Date: Mon, 27 May 2024 16:52:15 +0000 Subject: [PATCH] Fix expand button being enabled with no children shown --- .../main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java index 169627130..774606c35 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java @@ -101,7 +101,7 @@ public class StoreSectionMiniComp extends Comp> { + 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");