Work on Ascension Backport

This commit is contained in:
andrew6180
2024-05-17 15:08:08 -07:00
parent 5de2a04b8c
commit bb7e0d2c27
325 changed files with 26995 additions and 41741 deletions
+1 -7
View File
@@ -336,16 +336,10 @@
end,
SetTexture = function(titleBar, texturePath, textureCoord, vertexColor, maskTexture)
SetTexture = function(titleBar, texturePath, textureCoord, vertexColor)
if (texturePath) then
titleBar.BackgroundTexture:SetTexture(texturePath)
if (maskTexture) then
titleBar.BackgroundTexture:SetMask(maskTexture)
else
titleBar.BackgroundTexture:SetMask("")
end
if (vertexColor) then
local r, g, b, a = detailsFramework:ParseColors(vertexColor)
titleBar.BackgroundTexture:SetVertexColor(r, g, b, a)