Make line border color use alpha from its fixed color even when using color by the player class

This commit is contained in:
Tercio Jose
2022-05-02 16:41:29 -03:00
parent 3f09a59721
commit d669158221
+3 -1
View File
@@ -2987,7 +2987,9 @@ end
end
if (instance.row_info.backdrop.use_class_colors) then
bar.lineBorder:SetVertexColor(r, g, b, a)
--get the alpha from the border color
local alpha = instance.row_info.backdrop.color[4]
bar.lineBorder:SetVertexColor(r, g, b, alpha)
end
end