mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 09:56:03 +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)
|
||||
if pfUI.uf and pfUI.uf.focus then
|
||||
pfUI.uf.focus:Hide()
|
||||
pfUI.uf.focus.unitname = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user