mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 21:10:49 +00:00
unitframes: hide disabled frames on refresh
This commit is contained in:
@@ -903,6 +903,11 @@ function pfUI.uf:RefreshUnit(unit, component)
|
|||||||
|
|
||||||
local component = component or ""
|
local component = component or ""
|
||||||
|
|
||||||
|
if unit.config.visible ~= "1" then
|
||||||
|
unit:Hide()
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
-- don't update scanner activity
|
-- don't update scanner activity
|
||||||
if unit.label == "target" or unit.label == "targettarget" then
|
if unit.label == "target" or unit.label == "targettarget" then
|
||||||
if pfScanActive == true then return end
|
if pfScanActive == true then return end
|
||||||
|
|||||||
Reference in New Issue
Block a user