You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an optional field named pageSize in the PaginatedGui class, with an optional setter.
When the value is unset (0), and getPagesNum is called, there is a division by 0, which gets casted to an int returning MAX_VALUE.
Code in question:
The text was updated successfully, but these errors were encountered:
Hey there, no clue if this is a design flaw.
There's an optional field named
pageSize
in the PaginatedGui class, with an optional setter.When the value is unset (0), and getPagesNum is called, there is a division by 0, which gets casted to an int returning MAX_VALUE.
Code in question:
The text was updated successfully, but these errors were encountered: