diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/decorator/DecoratorSkin.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/decorator/DecoratorSkin.java index 69f06950cf..ad3f86aca5 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/decorator/DecoratorSkin.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/decorator/DecoratorSkin.java @@ -353,12 +353,7 @@ private Node createNavBar(Decorator skinnable, double leftPaneWidth, boolean can refreshNavButton.onActionProperty().bind(skinnable.onRefreshNavButtonActionProperty()); skinnable.forbidDraggingWindow(refreshNavButton); - Rectangle separator = new Rectangle(); - separator.visibleProperty().bind(refreshNavButton.visibleProperty()); - separator.heightProperty().bind(navBar.heightProperty()); - separator.setFill(Color.GRAY); - - navRight.getChildren().setAll(refreshNavButton, separator); + navRight.getChildren().setAll(refreshNavButton); navBar.setRight(navRight); } }