mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
unitframes: only scan focus on virtual unitstrings
This commit is contained in:
+2
-1
@@ -840,7 +840,8 @@ function pfUI.uf.OnUpdate()
|
|||||||
this.fullupdate = nil
|
this.fullupdate = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
if this == pfFocus then -- handle pseudo focus frames
|
-- handle pseudo focus frames
|
||||||
|
if this.unitname and this == pfFocus then
|
||||||
local unitname = ( this.label and UnitName(this.label) ) or ""
|
local unitname = ( this.label and UnitName(this.label) ) or ""
|
||||||
|
|
||||||
if pfFocusTarget then -- update focus target
|
if pfFocusTarget then -- update focus target
|
||||||
|
|||||||
Reference in New Issue
Block a user