This commit is contained in:
Crum
2017-12-19 23:41:26 -06:00
parent 0f720adce6
commit 620dc04ec3
10 changed files with 432 additions and 552 deletions
@@ -3,7 +3,7 @@ local AceCore, oldminor = LibStub:NewLibrary(ACECORE_MAJOR, ACECORE_MINOR)
if not AceCore then return end -- No upgrade needed
AceCore._G = AceCore._G or getfenv()
AceCore._G = AceCore._G or _G
local _G = AceCore._G
local strsub, strgsub, strfind = string.sub, string.gsub, string.find
local tremove, tconcat = table.remove, table.concat
@@ -17,7 +17,7 @@
-- ----------------------------------------------------------------------------
-- Localized Lua globals.
-- ----------------------------------------------------------------------------
local _G = getfenv(0)
local _G = _G
-- ----------------------------------------------------------------------------
local MAJOR_VERSION = "LibEasyMenu-1.04.7030024484"
local MINOR_VERSION = 90000 + 19
@@ -432,13 +432,13 @@ local function onUpdate(self, elapsed)
if(self.CustomDelayText) then
self:CustomDelayText(duration)
else
self.Time:SetFormattedText('%.1f|cffff0000-%.1f|r', duration, self.delay)
self.Time:SetText(format('%.1f|cffff0000-%.1f|r', duration, self.delay))
end
else
if(self.CustomTimeText) then
self:CustomTimeText(duration)
else
self.Time:SetFormattedText('%.1f', duration)
self.Time:SetText(format('%.1f', duration))
end
end
end
@@ -465,13 +465,13 @@ local function onUpdate(self, elapsed)
if(self.CustomDelayText) then
self:CustomDelayText(duration)
else
self.Time:SetFormattedText('%.1f|cffff0000-%.1f|r', duration, self.delay)
self.Time:SetText(format('%.1f|cffff0000-%.1f|r', duration, self.delay))
end
else
if(self.CustomTimeText) then
self:CustomTimeText(duration)
else
self.Time:SetFormattedText('%.1f', duration)
self.Time:SetText(format('%.1f', duration))
end
end
end