mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
unitframes: update heal predictions on show
This commit is contained in:
@@ -116,6 +116,12 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick)
|
||||
f.incHeal:SetStatusBarColor(0, 1, 0, 0.5)
|
||||
f.incHeal:Hide()
|
||||
|
||||
f.incHeal:SetScript("OnShow", function()
|
||||
if pfUI.prediction and f.label and f.id then
|
||||
pfUI.prediction:TriggerUpdate(UnitName(f.label .. f.id))
|
||||
end
|
||||
end)
|
||||
|
||||
if pfUI_config.unitframes.custombg == "0" then
|
||||
f.incHeal:SetFrameLevel(2)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user