stoneharry / WoW-Spell-Editor

A Spell Editor for WoW versions WOTLK 3.3.5, TBC 2.4.3, or Vanilla 1.12.1.
252 stars 115 forks source link

[Feature Revamp Request] Icon Loading Efficiency #228

Closed howtokana closed 5 months ago

howtokana commented 5 months ago

Is your feature request related to a problem? Please describe. Adding additional icons to the spell editor will make it lag/freeze when loading icons if there is enough of them.

Describe the solution you'd like Would it be possible to take a look at how it's handled so it's logic is friendlier towards more icons?

Any other comments/information If this is a tall order or requires too much work please don't pay this post any attention.

stoneharry commented 5 months ago

This is already implemented. Check the config.

screenshot

When 'render only icons in view' is enabled it will only load icons that are visible in the UI. This is slower to scroll up and down, but makes the program more performant with a large amount of icons.

Changing the config option requires a program restart to take effect.

howtokana commented 5 months ago

Didn't that know that was an option, thank you very much!