Fix #3864 游戏内容下载的分页按钮不重置 (#3866)

* Fix #3864

* Update DownloadListPage.java

* Update DownloadListPage.java

---------

Co-authored-by: Glavo <zjx001202@gmail.com>
This commit is contained in:
Wulian233 2025-05-03 04:45:47 +08:00 committed by GitHub
parent b32d3c354a
commit 2ea96fdaa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);