Open Raid Library update
This commit is contained in:
@@ -302,8 +302,8 @@ DF:Mixin(BarMetaFunctions, DF.ScriptHookMixin)
|
||||
end
|
||||
--font size
|
||||
local smember_textsize = function(_object, _value)
|
||||
DF:SetFontSize (_object.textleft, _value)
|
||||
return DF:SetFontSize (_object.textright, _value)
|
||||
DF:SetFontSize(_object.textleft, _value)
|
||||
return DF:SetFontSize(_object.textright, _value)
|
||||
end
|
||||
--font color
|
||||
local smember_textcolor = function(_object, _value)
|
||||
@@ -613,7 +613,7 @@ DF:Mixin(BarMetaFunctions, DF.ScriptHookMixin)
|
||||
--right text
|
||||
self.remaining = self.remaining - elapsed
|
||||
if (self.MyObject.RightTextIsTimer) then
|
||||
self.righttext:SetText(DF:IntegerToTimer (self.remaining))
|
||||
self.righttext:SetText(DF:IntegerToTimer(self.remaining))
|
||||
else
|
||||
self.righttext:SetText(_math_floor(self.remaining))
|
||||
end
|
||||
@@ -739,11 +739,11 @@ local build_statusbar = function(self)
|
||||
self.lefttext = self:CreateFontString("$parent_TextLeft", "OVERLAY", "GameFontHighlight")
|
||||
self.lefttext:SetJustifyH("LEFT")
|
||||
self.lefttext:SetPoint("LEFT", self.icontexture, "RIGHT", 3, 0)
|
||||
DF:SetFontSize (self.lefttext, 10)
|
||||
DF:SetFontSize(self.lefttext, 10)
|
||||
|
||||
self.righttext = self:CreateFontString("$parent_TextRight", "OVERLAY", "GameFontHighlight")
|
||||
self.righttext:SetJustifyH("LEFT")
|
||||
DF:SetFontSize (self.righttext, 10)
|
||||
DF:SetFontSize(self.righttext, 10)
|
||||
self.righttext:SetPoint("RIGHT", self, "RIGHT", -3, 0)
|
||||
|
||||
DetailsFrameworkNormalBar_OnCreate (self)
|
||||
|
||||
Reference in New Issue
Block a user