@@ -82,7 +82,9 @@ public class TransitionPane extends StackPane {
|
|||||||
duration, interpolator);
|
duration, interpolator);
|
||||||
newAnimation.setOnFinished(e -> {
|
newAnimation.setOnFinished(e -> {
|
||||||
setMouseTransparent(false);
|
setMouseTransparent(false);
|
||||||
getChildren().remove(previousNode);
|
if (previousNode != currentNode) {
|
||||||
|
getChildren().remove(previousNode);
|
||||||
|
}
|
||||||
|
|
||||||
if (cacheHint != null) {
|
if (cacheHint != null) {
|
||||||
newView.setCache(false);
|
newView.setCache(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user