unitframes: hide disabled frames on refresh

This commit is contained in:
shagu
2018-08-18 17:43:22 +02:00
parent dd2a562813
commit 24d20783be
+5
View File
@@ -903,6 +903,11 @@ function pfUI.uf:RefreshUnit(unit, component)
local component = component or ""
if unit.config.visible ~= "1" then
unit:Hide()
return
end
-- don't update scanner activity
if unit.label == "target" or unit.label == "targettarget" then
if pfScanActive == true then return end