mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 02:44:50 +00:00
fixed getAllWidgets
This commit is contained in:
@@ -87,6 +87,12 @@ public final class WidgetContainer {
|
||||
}
|
||||
}
|
||||
|
||||
for (var child : currentView.getNode().getChildren()) {
|
||||
if (child instanceof Widget widget) {
|
||||
children.add(widget);
|
||||
}
|
||||
}
|
||||
|
||||
return children;
|
||||
}
|
||||
}
|
||||
@@ -41,7 +41,7 @@ public abstract class StackWidget implements Widget {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Node getNode() {
|
||||
public StackPane getNode() {
|
||||
return container;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user