Fix StackContainerPane
This commit is contained in:
@@ -26,7 +26,7 @@ public class StackContainerPane extends StackPane {
|
|||||||
private final Stack<Node> stack = new Stack<>();
|
private final Stack<Node> stack = new Stack<>();
|
||||||
|
|
||||||
public void push(Node node) {
|
public void push(Node node) {
|
||||||
if (node.getProperties().containsKey("controllers"))
|
if (!node.getProperties().containsKey("controllers"))
|
||||||
stack.push(node);
|
stack.push(node);
|
||||||
getChildren().setAll(node);
|
getChildren().setAll(node);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user