From 981b55a10ede72df9b07bbbacafafe73a285aeb2 Mon Sep 17 00:00:00 2001 From: Burning_TNT <88144530+burningtnt@users.noreply.github.com> Date: Tue, 10 Dec 2024 16:20:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?Fix=20#3456=20=E5=9C=A8=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E7=95=8C=E9=9D=A2=E6=B2=A1=E6=B3=95=E6=8B=96?= =?UTF-8?q?=E5=8A=A8=E5=90=AF=E5=8A=A8=E5=99=A8=E7=AA=97=E5=8F=A3=20(#3464?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HMCL/src/main/java/org/jackhuang/hmcl/ui/UpgradeDialog.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/UpgradeDialog.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/UpgradeDialog.java index e6b1e99255..abc62af4c2 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/UpgradeDialog.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/UpgradeDialog.java @@ -41,6 +41,9 @@ public final class UpgradeDialog extends JFXDialogLayout { public UpgradeDialog(RemoteVersion remoteVersion, Runnable updateRunnable) { + maxWidthProperty().bind(Controllers.getScene().widthProperty().multiply(0.7)); + maxHeightProperty().bind(Controllers.getScene().heightProperty().multiply(0.7)); + setHeading(new Label(i18n("update.changelog"))); setBody(new ProgressIndicator()); From 4c6fdf49de8ed0e70a07f633a7dfe26253117603 Mon Sep 17 00:00:00 2001 From: Glavo Date: Fri, 13 Dec 2024 00:29:34 +0800 Subject: [PATCH 2/2] Bump JetBrains Annotations to 26.0.1 (#3493) --- HMCLCore/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMCLCore/build.gradle.kts b/HMCLCore/build.gradle.kts index c25db1c3ee..ba4e103da1 100644 --- a/HMCLCore/build.gradle.kts +++ b/HMCLCore/build.gradle.kts @@ -13,7 +13,7 @@ dependencies { api("org.nanohttpd:nanohttpd:2.3.1") api("org.apache.commons:commons-compress:1.25.0") api("org.jsoup:jsoup:1.18.1") - compileOnlyApi("org.jetbrains:annotations:24.1.0") + compileOnlyApi("org.jetbrains:annotations:26.0.1") if (JavaVersion.current().isJava8) { org.gradle.internal.jvm.Jvm.current().toolsJar?.let {