From 65f20e39c6897c8a92f2200af891b26e07526760 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sun, 22 Feb 2026 20:58:52 +0100 Subject: [PATCH] forced version push forced version push - fixed healpredicts for target and player frame --- api/unitframes.lua | 12 ++++++++++-- pfUI-tbc.toc | 2 +- pfUI.toc | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index ed9c8f13..18f29bcd 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -1885,8 +1885,16 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick) f.powerCenterText = f.texts:CreateFontString("Status", "OVERLAY", "GameFontNormalSmall") f.incHeal = CreateFrame("Frame", nil, f.hp) - f.incHeal.texture = f.incHeal:CreateTexture(nil, "BACKGROUND") - f.incHeal.texture:SetAllPoints() + -- Texture lives on hp.bar for correct draw order: + -- hp.bar.bg (BACKGROUND) < incHeal (BORDER) < hp.bar.bar (NORMAL) + f.incHeal.texture = f.hp.bar:CreateTexture(nil, "BORDER") + f.incHeal.texture:SetAllPoints(f.incHeal) + -- Override Show/Hide since texture lives on hp.bar, not incHeal + f.incHeal._Show = f.incHeal.Show + f.incHeal._Hide = f.incHeal.Hide + f.incHeal.Show = function(self) self:_Show() self.texture:Show() end + f.incHeal.Hide = function(self) self:_Hide() self.texture:Hide() end + f.incHeal.texture:Hide() f.ressIcon = CreateFrame("Frame", nil, f.hp.bar) f.ressIcon.texture = f.ressIcon:CreateTexture(nil,"BACKGROUND") diff --git a/pfUI-tbc.toc b/pfUI-tbc.toc index acefe0df..b4693821 100644 --- a/pfUI-tbc.toc +++ b/pfUI-tbc.toc @@ -3,7 +3,7 @@ ## Author: Shagu - modfied by me0wg4ming ## Notes: A complete user interface replacement. ## Notes-ruRU: Полная замена пользовательского интерфейса. -## Version: 7.6.2 (experiment version) +## Version: 7.7.0 ## SavedVariables: pfUI_profiles, pfUI_addon_profiles, pfUI_cache, pfUI_throttle ## SavedVariablesPerCharacter: pfUI_config, pfUI_init, pfUI_playerDB diff --git a/pfUI.toc b/pfUI.toc index 14a6a80e..78221aae 100644 --- a/pfUI.toc +++ b/pfUI.toc @@ -3,7 +3,7 @@ ## Author: Shagu - modfied by me0wg4ming ## Notes: A complete user interface replacement. ## Notes-ruRU: Полная замена пользовательского интерфейса. -## Version: 7.6.2 (experiment version) +## Version: 7.7.0 ## SavedVariables: pfUI_profiles, pfUI_addon_profiles, pfUI_cache, pfUI_throttle ## SavedVariablesPerCharacter: pfUI_config, pfUI_init, pfUI_playerDB