Skip to content

Commit

Permalink
Merge pull request #204 from CaelRowley/patch-1
Browse files Browse the repository at this point in the history
fix: issue with end_idx inferring int type from variant type
  • Loading branch information
worron authored Dec 8, 2024
2 parents d8eee0f + 086f2df commit 9f9b621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func reload():

#remove existing list items
var start_idx := (current_page - 1) * items_per_page
var end_idx := min(start_idx + items_per_page, item_data.size())
var end_idx := mini(start_idx + items_per_page, item_data.size())
for c in item_container.get_children():
c.queue_free()

Expand Down

0 comments on commit 9f9b621

Please sign in to comment.