Applied a small fix to avoid UI Fragments when changing the talent spec on 3.2.
This commit is contained in:
parent
3cfa7c8642
commit
2f8f888e5d
1 changed files with 6 additions and 0 deletions
|
|
@ -122,6 +122,12 @@ function Bartender4:HideBlizzard()
|
|||
|
||||
PossessBarFrame:UnregisterAllEvents()
|
||||
PossessBarFrame:Hide()
|
||||
|
||||
if PlayerTalentFrame then
|
||||
PlayerTalentFrame:UnregisterEvent('ACTIVE_TALENT_GROUP_CHANGED')
|
||||
else
|
||||
hooksecurefunc('TalentFrame_LoadUI', function() PlayerTalentFrame:UnregisterEvent('ACTIVE_TALENT_GROUP_CHANGED') end)
|
||||
end
|
||||
end
|
||||
|
||||
--[[ function Bartender4:OnEnable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue