mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
focus: reset focus unit when hiding
This commit is contained in:
@@ -17,6 +17,7 @@ SLASH_PFCLEARFOCUS1, SLASH_PFCLEARFOCUS2 = '/clearfocus', '/pfclearfocus'
|
|||||||
function SlashCmdList.PFCLEARFOCUS(msg)
|
function SlashCmdList.PFCLEARFOCUS(msg)
|
||||||
if pfUI.uf and pfUI.uf.focus then
|
if pfUI.uf and pfUI.uf.focus then
|
||||||
pfUI.uf.focus:Hide()
|
pfUI.uf.focus:Hide()
|
||||||
|
pfUI.uf.focus.unitname = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user