Skip to content

Commit

Permalink
remove SubScene
Browse files Browse the repository at this point in the history
  • Loading branch information
leewyatt committed Dec 29, 2022
1 parent f32c658 commit 36ab42e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public RXCarouselSkin(RXCarousel control) {
}*/
// 添加底层容器到组件里
rootPane.getChildren().addAll(contentPane, effectPane, navigationPane);
rootPane.backgroundProperty().bind(control.backgroundProperty());
//rootPane.backgroundProperty().bind(control.backgroundProperty());


getChildren().setAll(rootPane);
Expand Down Expand Up @@ -664,7 +664,6 @@ public void dispose() {
for (RXToggleButton button : getNavButtons()) {
button.textProperty().unbind();
}
contentPane.backgroundProperty().unbind();
rootPane.minWidthProperty().unbind();
rootPane.prefWidthProperty().unbind();
rootPane.minHeightProperty().unbind();
Expand Down

0 comments on commit 36ab42e

Please sign in to comment.