mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-02-17 17:09:55 +08:00
Fix StackContainerPane
This commit is contained in:
parent
b200105a85
commit
71cfa64b16
@ -26,7 +26,7 @@ public class StackContainerPane extends StackPane {
|
||||
private final Stack<Node> stack = new Stack<>();
|
||||
|
||||
public void push(Node node) {
|
||||
if (node.getProperties().containsKey("controllers"))
|
||||
if (!node.getProperties().containsKey("controllers"))
|
||||
stack.push(node);
|
||||
getChildren().setAll(node);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user