- 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:
Parnic
2008-02-11 18:03:05 +00:00
parent 695abf1b34
commit 747bc0bc42
2 changed files with 10 additions and 6 deletions

View File

@ -22,14 +22,16 @@ function PetMana.prototype:GetDefaultSettings()
settings["side"] = IceCore.Side.Right
settings["offset"] = -1
settings.scale = 0.7
settings["upperText"] = ""
settings["lowerText"] = "[PercentMP:Round]"
settings["textVerticalOffset"] = 4
settings["upperText"] = "[PercentMP:Round]"
settings["lowerText"] = ""
return settings
end
-- OVERRIDE
--[[
function PetMana.prototype:CreateFrame()
PetMana.super.prototype.CreateFrame(self)
@ -43,7 +45,7 @@ function PetMana.prototype:CreateFrame()
self.frame.bottomUpperText:ClearAllPoints()
self.frame.bottomUpperText:SetPoint(point, relativeTo, relativePoint, 0, 0)
end
]]
function PetMana.prototype:Enable(core)
PetMana.super.prototype.Enable(self, core)