unitframes: do not autohide focus frame

This commit is contained in:
shagu
2017-04-18 23:28:38 +02:00
parent 6722520e7b
commit 29763cf47b
+1 -1
View File
@@ -546,7 +546,7 @@ function pfUI.uf:RefreshUnit(unit, component)
unit.lastUnit = UnitName(unit.label .. unit.id)
end
if UnitName(unit.label .. unit.id) or (pfUI.gitter and pfUI.gitter:IsShown()) then
if UnitName(unit.label .. unit.id) or (pfUI.gitter and pfUI.gitter:IsShown()) or unit.unitname then
unit:Show() else unit:Hide()
end