Skip to content

Commit

Permalink
fix: max page compute error
Browse files Browse the repository at this point in the history
  • Loading branch information
tangge233 committed Jan 25, 2025
1 parent bfb8922 commit 53e6497
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
Log("[Screenshot] 筛选后得到 " & FileList.Count & " 个截图文件")
RefreshTip()
Page = 1
MaxPage = FileList.Count / SingleLoadCount + If(FileList.Count Mod SingleLoadCount > 0, 1, 0)
MaxPage = Math.Ceiling(FileList.Count / SingleLoadCount)
PanList.Children.Clear()
If FileList.Count > 0 Then
SetPageButton()
Expand Down

0 comments on commit 53e6497

Please sign in to comment.