mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-13 22:07:01 -04: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);
|
else navLeft.getChildren().setAll(backNavButton);
|
||||||
});
|
});
|
||||||
|
|
||||||
skinnable.showCloseAsHomeProperty().addListener((a, b, newValue) -> {
|
FXUtils.onChangeAndOperate(skinnable.showCloseAsHomeProperty(), (newValue) -> {
|
||||||
if (newValue)
|
if (newValue)
|
||||||
closeNavButton.setGraphic(SVG.home(Theme.foregroundFillBinding(), -1, -1));
|
closeNavButton.setGraphic(SVG.home(Theme.foregroundFillBinding(), -1, -1));
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user