From 2ea96fdaa79cb97e3d0261e2352ff537d67c9abf Mon Sep 17 00:00:00 2001 From: Wulian233 <1055917385@qq.com> Date: Sat, 3 May 2025 04:45:47 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20#3864=20=E6=B8=B8=E6=88=8F=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=B8=8B=E8=BD=BD=E7=9A=84=E5=88=86=E9=A1=B5=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=B8=8D=E9=87=8D=E7=BD=AE=20(#3866)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix #3864 * Update DownloadListPage.java * Update DownloadListPage.java --------- Co-authored-by: Glavo --- .../java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java index f353da485..b53b6a1db 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java @@ -453,6 +453,10 @@ public class DownloadListPage extends Control implements DecoratorPage, VersionP changeButton.value.run(); }); + FXUtils.onChange(control.pageOffset, pageOffsetN -> { + changeButton.value.run(); + }); + Pane placeholder = new Pane(); HBox.setHgrow(placeholder, Priority.SOMETIMES);