Restore context menus for Health and Info modules

Apparently we don't have to do any of this anymore (and might not have had to do it for a long time, but I missed the memo) so if we can, just use the built-in menuing stuff. Setting focus doesn't trigger taint with this.
This commit is contained in:
Parnic
2024-07-25 22:25:55 -05:00
parent 8a3f9e19d0
commit e94138d201
6 changed files with 14 additions and 7 deletions

View File

@ -1010,7 +1010,6 @@ if UnitPopupFrames then
end
IceHUD.DropdownUnit = nil
-- todo: update for new UnitPopup_OpenMenu() API
if UnitPopup_ShowMenu then
UIDropDownMenu_Initialize(IceHUD_UnitFrame_DropDown, function()
if not IceHUD.DropdownUnit then