Fixed an issue with players with the time measurement 'real time'.

This commit is contained in:
Tercio Jose
2023-07-30 10:25:16 -03:00
parent 0bcc58bf5a
commit 104fd7398a
4 changed files with 10 additions and 5 deletions
+3 -2
View File
@@ -412,6 +412,7 @@ detailsFramework:Mixin(ButtonMetaFunctions, detailsFramework.ScriptHookMixin)
else
self.icon:SetTexture(texture)
end
elseif (type(texture) == "table") then
local r, g, b, a = detailsFramework:ParseColors(texture)
self.icon:SetColorTexture(r, g, b, a)
@@ -1123,7 +1124,7 @@ end
local normalTexture = button:GetNormalTexture()
local pushedTexture = button:GetPushedTexture()
local highlightTexture = button:GetHightlightTexture()
local highlightTexture = button:GetHighlightTexture()
local disabledTexture = button:GetDisabledTexture()
if (type(texture) == "table") then
@@ -1184,7 +1185,7 @@ end
red, green, blue, alpha = detailsFramework:ParseColor(red, green, blue, alpha)
local normalTexture = button:GetNormalTexture()
local pushedTexture = button:GetPushedTexture()
local highlightTexture = button:GetHightlightTexture()
local highlightTexture = button:GetHighlightTexture()
local disabledTexture = button:GetDisabledTexture()
normalTexture:SetVertexColor(red, green, blue, alpha)