Skip to content

Commit

Permalink
Make it possible to reach the end of the page faster
Browse files Browse the repository at this point in the history
  • Loading branch information
CattoGamer committed Oct 29, 2024
1 parent 924606a commit 846d394
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ function HISTORY:Init()
self.PagerLeft:Dock(LEFT)
self.PagerLeft.DoClick = function()
if self.History[self.CurrentPageCount] then
self.CurrentPageCount = self.CurrentPageCount - 1
local page = self.CurrentPageCount - 1

self.CurrentPageCount = (page == 0 and #self.History or page)
end

self:Search()
Expand Down

0 comments on commit 846d394

Please sign in to comment.