mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
make hidden frames visible while dragging
This commit is contained in:
+6
-1
@@ -43,7 +43,12 @@ pfUI:RegisterModule("target", function ()
|
||||
pfUI.uf.target:RegisterEvent("UNIT_MAXENERGY")
|
||||
|
||||
pfUI.uf.target:SetScript("OnEvent", function()
|
||||
if UnitExists("target") then pfUI.uf.target:Show() else
|
||||
if UnitExists("target") then
|
||||
pfUI.uf.target:Show()
|
||||
elseif (pfUI.gitter and pfUI.gitter:IsShown()) then
|
||||
pfUI.uf.target:Show()
|
||||
return
|
||||
else
|
||||
pfUI.uf.target:Hide()
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user