mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 20:50:01 +00:00
target: close dropdown menus when target is hidden
This commit is contained in:
@@ -37,6 +37,10 @@ pfUI:RegisterModule("target", function ()
|
||||
GameTooltip:FadeOut()
|
||||
end)
|
||||
|
||||
pfUI.uf.target:SetScript("OnHide", function()
|
||||
CloseDropDownMenus()
|
||||
end)
|
||||
|
||||
pfUI.uf.target:SetScript("OnClick", function ()
|
||||
if arg1 == "RightButton" then
|
||||
ToggleDropDownMenu(1, nil, TargetFrameDropDown, "cursor")
|
||||
|
||||
Reference in New Issue
Block a user