Fix StackContainerPane

This commit is contained in:
huangyuhui 2018-03-06 10:19:37 +08:00
parent b200105a85
commit 71cfa64b16

View File

@ -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);
}