Skip to content

Boost drawing speed of ItemLists with many items

Bernhard Liebl requested to merge github/fork/poke1024/item-list-draw-speed into master

With 2000+ items, ItemList (used for displaying errors, messages) starts to get really sluggish, and it starts to hog the whole Godot UI for larger numbers.

The current implementation draws every row (including the non-visible ones) on every frame due to a strange clip rect.

This PR polishes the whole drawing code, such that lists of several 1000 elements scroll smoothly now.

Merge request reports

Loading