lithammer / NeavUI

Development branch of Neav UI
http://www.wowinterface.com/downloads/info13981-NeavUI.html
MIT License
94 stars 42 forks source link

Update loot spec when changing active spec #266

Closed lithammer closed 6 years ago

lithammer commented 6 years ago

At the moment the loot spec icon is only updated if you actively change the current loot spec (or if you reload/login) by right-clicking the player frame. However the default value (0) changes the loot spec automatically based on the currently active spec. But changing spec doesn't trigger the PLAYER_LOOT_SPEC_UPDATED event (at least not for DPS classes).

But by also updating on ACTIVE_TALENT_GROUP_CHANGED you get the desired behaviour when using the default loot spec.

Grimsbain commented 6 years ago

Looks good. They must have changed something going into BFA because it worked during Legion.