LiamMorrow / Visual-Studio-Power-Mode

An extension that attempts to clone the power mode in Atom found here : https://atom.io/packages/activate-power-mode
MIT License
254 stars 56 forks source link

Convert particle explosions to use WPF animations instead of tass #27

Closed hahn-kev closed 8 years ago

hahn-kev commented 8 years ago

Each ExplosionParticle is now reused and hidden when not in use, that way we don't have to allocate memory for new particles each keypress

Setting ParticlePerPress added, this controls the number of particles used for each explosion, defaults to 10 OptionPageGeneral now has an OptionsVersion field, the ExplosionParticle keys off of that to update it's settings when the settings have been changed, this was done for performance reasons.

Using these changes I'm able to double the particles to 20 without noticing performance loss.