mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 19:19:59 +00:00
forced version push
forced version push - fixed healpredicts for target and player frame
This commit is contained in:
+10
-2
@@ -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")
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user