mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- un-anchored pet health/mana text values to the bottom of the frame. now that vertical offsets are available, we can use them instead of anchoring/using setpoint
- bumped up the default position of the pet mana/health values to get them out of the way of nearby bars - changed pet health/mana dogtags to display on the uppertext block instead of the lowertext block so it behaves and alphas like all other bars
This commit is contained in:
@ -24,14 +24,16 @@ function PetHealth.prototype:GetDefaultSettings()
|
||||
settings["side"] = IceCore.Side.Left
|
||||
settings["offset"] = -1
|
||||
settings.scale = 0.7
|
||||
settings["upperText"] = ""
|
||||
settings["lowerText"] = "[PercentHP:Round]"
|
||||
settings["textVerticalOffset"] = 4
|
||||
settings["upperText"] = "[PercentHP:Round]"
|
||||
settings["lowerText"] = ""
|
||||
|
||||
return settings
|
||||
end
|
||||
|
||||
|
||||
-- OVERRIDE
|
||||
--[[
|
||||
function PetHealth.prototype:CreateFrame()
|
||||
PetHealth.super.prototype.CreateFrame(self)
|
||||
|
||||
@ -45,7 +47,7 @@ function PetHealth.prototype:CreateFrame()
|
||||
self.frame.bottomUpperText:ClearAllPoints()
|
||||
self.frame.bottomUpperText:SetPoint(point, relativeTo, relativePoint, 0, 0)
|
||||
end
|
||||
|
||||
]]
|
||||
|
||||
function PetHealth.prototype:Enable(core)
|
||||
PetHealth.super.prototype.Enable(self, core)
|
||||
|
Reference in New Issue
Block a user