Update DecoratorSkin.java

This commit is contained in:
zkitefly 2023-05-03 13:04:13 +08:00 committed by GitHub
parent c81620acfa
commit cdb6267e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,6 +198,7 @@ public class DecoratorSkin extends SkinBase<Decorator> {
btnHelp.setGraphic(SVG.helpCircleOutline(Theme.foregroundFillBinding(), -1, -1));
btnHelp.getStyleClass().add("jfx-decorator-button");
btnHelp.setOnAction(e -> FXUtils.openLink("https://docs.hmcl.net/help.html"));
runInFX(() -> FXUtils.installFastTooltip(btnHelp, i18n("logwindow.help")));
JFXButton btnMin = new JFXButton();
StackPane pane = new StackPane(minus);