mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-25 09:06:03 +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 ""
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user