Fixing the statusbar color for the player breakdown window not showing on 10.0

This commit is contained in:
Tercio Jose
2022-09-04 18:00:39 -03:00
parent 685b06193a
commit 0306cda9c3
5 changed files with 17 additions and 4 deletions
+2 -2
View File
@@ -5605,8 +5605,8 @@ local function CriaTexturaBarra(newLine)
local texturePath = SharedMedia:Fetch("statusbar", _detalhes.player_details_window.bar_texture)
textureObject:SetTexture(texturePath)
newLine.textura:SetStatusBarTexture(textureObject)
newLine.textura:SetStatusBarColor(.5, .5, .5, 1) --SetColorFill(r, g, b, a)
--newLine.textura:SetColorFill(.5, .5, .5, 1) --(r, g, b, a)
newLine.textura:SetStatusBarColor(.5, .5, .5, 1)
--newLine.textura:SetColorFill(.5, .5, .5, 1) --(r, g, b, a) --only in 10.0?
newLine.textura:SetMinMaxValues(0, 100)
local backgroundTexture = newLine.textura:CreateTexture(nil, "background")