Don't set a texture to the cooldown frames on creation.

This commit is contained in:
Relintai 2021-06-27 10:46:41 +02:00
parent b03b127757
commit d3a10c4781
3 changed files with 3 additions and 3 deletions

View File

@ -247,7 +247,7 @@ function Rekt:CreateFrames(which)
frame:SetScript("OnUpdate", function() self:VOnTimerUpdate(which) end)
end
local text = frame:CreateTexture();
text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
--text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
text:SetAllPoints(frame);
frame.texture = text;
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);

View File

@ -330,7 +330,7 @@ function Rekt:CreateDRFrames(which)
frame:SetScript("OnUpdate", function() self:VOnDRTimerUpdate(wh) end)
end
local text = frame:CreateTexture();
text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
--text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
text:SetAllPoints(frame);
frame.texture = text;
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);

View File

@ -38,7 +38,7 @@ function Rekt:CreateInterruptBarFrames()
frame:SetScript("OnUpdate", function() self:OnInterruptBarUpdate() end)
end
local text = frame:CreateTexture();
text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
--text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
text:SetAllPoints(frame);
frame.texture = text;
local CoolDown = CreateFrame("Cooldown", "RektIBCoolDown" .. i, frame);