优化设置页更新按钮 (#6010)

This commit is contained in:
辞庐 authored and GitHub committed 2026-04-26 20:48:21 +08:00
1 parent dad190f7e6
commit bd812ccb67
1 file changed
+1 -2
@@ -121,8 +121,7 @@ public final class SettingsPage extends ScrollPane {
ObjectProperty<UpdateChannel> updateChannel;
{
JFXButton updateButton = new JFXButton();
updateButton.setGraphic(SVG.UPDATE.createIcon(20));
JFXButton updateButton = FXUtils.newToggleButton4(SVG.UPDATE, 20);
updateButton.setOnAction(e -> onUpdate());
updateButton.setPadding(Insets.EMPTY);
FXUtils.installFastTooltip(updateButton, i18n("update.tooltip"));