Skip to content

Commit 2ea96fd

Browse files
Wulian233Glavo
andauthored
Fix #3864 游戏内容下载的分页按钮不重置 (#3866)
* Fix #3864 * Update DownloadListPage.java * Update DownloadListPage.java --------- Co-authored-by: Glavo <zjx001202@gmail.com>
1 parent b32d3c3 commit 2ea96fd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ protected ModDownloadListPageSkin(DownloadListPage control) {
453453
changeButton.value.run();
454454
});
455455

456+
FXUtils.onChange(control.pageOffset, pageOffsetN -> {
457+
changeButton.value.run();
458+
});
459+
456460
Pane placeholder = new Pane();
457461
HBox.setHgrow(placeholder, Priority.SOMETIMES);
458462

0 commit comments

Comments
 (0)