mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-02-11 16:59:54 +08:00
Fixed not displaying "Home" icon. Mentioned in #513
This commit is contained in:
parent
cdfae54ab9
commit
78fcc69d29
@ -207,7 +207,7 @@ public class DecoratorSkin extends SkinBase<Decorator> {
|
||||
else navLeft.getChildren().setAll(backNavButton);
|
||||
});
|
||||
|
||||
skinnable.showCloseAsHomeProperty().addListener((a, b, newValue) -> {
|
||||
FXUtils.onChangeAndOperate(skinnable.showCloseAsHomeProperty(), (newValue) -> {
|
||||
if (newValue)
|
||||
closeNavButton.setGraphic(SVG.home(Theme.foregroundFillBinding(), -1, -1));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user