Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/tukui-org/ElvUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Elv-Tukui committed Jan 14, 2025
2 parents f4562b5 + c70b075 commit a56e0b2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions ElvUI/Core/General/API.lua
Original file line number Diff line number Diff line change
Expand Up @@ -553,16 +553,12 @@ do
local colors, changed = E.db.general.classColors

for classTag, db in next, colors do
local color = custom[classTag]
if color then
E:UpdateClassColor(db)
local color, r, g, b = custom[classTag], db.r, db.g, db.b
if color and (color.r ~= r or color.g ~= g or color.b ~= b) then
color.r, color.g, color.b = r, g, b
color.colorStr = E:RGBToHex(r, g, b, 'ff')

if color.r ~= db.r or color.g ~= db.g or color.b ~= db.b then
color.r, color.g, color.b = db.r, db.g, db.b
color.colorStr = E:RGBToHex(db.r, db.g, db.b, 'ff')

changed = true
end
changed = true
end
end

Expand Down

0 comments on commit a56e0b2

Please sign in to comment.