stoneharry / WoW-Spell-Editor

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

feature/134 icon scroll refactor #138

Closed stoneharry closed 3 years ago

stoneharry commented 3 years ago

Add a new config option to control how images should be loaded on the icon tab.

By default the new config option is off.

When the config option is off all images are loaded as soon as the Icon tab is entered. This allows for the smooth scrolling of icons however if you have a very large SpellIcon DBC then it can cause excessive load times and potentially out of memory crashes.

Turning the new config option on will only load the icons that currently appear on the screen, which will prevent the issues described above but also result in images being loaded a lot slower as you scroll.