Skip to content

Commit

Permalink
add SameColor command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulti-FD committed Jul 19, 2021
1 parent 1dd6181 commit cf83d2f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Themes/_fallback/Scripts/02 Colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,12 @@ function ColorMultiplier(color, multi)
color[3] = color[3] * multi
return color
end


function SameColor(c1,c2)
if c1[1] == c2[1] and c1[2] == c2[2] and c1[3] == c2[3] then
return true
end
return false
end

0 comments on commit cf83d2f

Please sign in to comment.