Commit 8ccb6348 authored by Simpy's avatar Simpy 🐹

fix a weird bug i found on beta (doesnt effect retail tho)

parent 93518d45
......@@ -100,9 +100,9 @@ function E:TextGradient(text, ...)
local r1, g1, b1, r2, g2, b2 = select((segment*3)+1, ...)
if not r2 then
msg = msg .. E:RGBToHex(r1, g1, b1) .. x
msg = msg .. E:RGBToHex(r1, g1, b1, nil, x..'|r')
else
msg = msg .. E:RGBToHex(r1+(r2-r1)*relperc, g1+(g2-g1)*relperc, b1+(b2-b1)*relperc) .. x
msg = msg .. E:RGBToHex(r1+(r2-r1)*relperc, g1+(g2-g1)*relperc, b1+(b2-b1)*relperc, nil, x..'|r')
idx = idx + 1
end
end
......
......@@ -103,7 +103,7 @@ local DEVELOPERS = {
'|cff9482c9Darth Predator|r',
'|T134297:15:15:0:0:64:64:5:59:5:59|t |cffff7d0aMerathilis|r',
'|TInterface/AddOns/ElvUI/Media/ChatLogos/FoxWarlock:15:15:0:0:64:64:5:59:5:59|t |cffff2020NihilisticPandemonium|r',
E:TextGradient('Simpy but my name needs to be longer.', 0.6,0.4,1, 1,0.4,0.8, 0.4,0.8,1, 0.26,0.53,1)..'|r'
E:TextGradient('Simpy but my name needs to be longer.', 0.6,0.4,1, 1,0.4,0.8, 0.4,0.8,1, 0.26,0.53,1)
}
local TESTERS = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment