Check ignore parent alpha exists
This commit is contained in:
parent
c5333db47b
commit
449b45154a
1 changed files with 3 additions and 1 deletions
|
|
@ -801,7 +801,9 @@ function Details:CreateBreakdownWindow()
|
|||
local scaleBar = detailsFramework:CreateScaleBar(breakdownWindowFrame, Details.player_details_window)
|
||||
scaleBar.label:AdjustPointOffset(-3, 1)
|
||||
scaleBar.label:SetTextColor(0.8902, 0.7294, 0.0157, 1)
|
||||
scaleBar.label:SetIgnoreParentAlpha(true)
|
||||
if scaleBar.label.SetIgnoreParentAlpha then
|
||||
scaleBar.label:SetIgnoreParentAlpha(true)
|
||||
end
|
||||
breakdownWindowFrame:SetScale(Details.player_details_window.scale)
|
||||
|
||||
--1, 0.8235, 0, 1 - text color of the label of the scale bar | plugins text color: 0.8902, 0.7294, 0.0157, 1 | 0.8902, 0.7294, 0.0157, 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue