From 449b45154a0bfb0ad109dd9e60d39c7d01d0fc6e Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Mon, 26 Aug 2024 10:47:17 -0700 Subject: [PATCH] Check ignore parent alpha exists --- frames/window_breakdown/window_playerbreakdown.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frames/window_breakdown/window_playerbreakdown.lua b/frames/window_breakdown/window_playerbreakdown.lua index d0bc6396..12180be7 100644 --- a/frames/window_breakdown/window_playerbreakdown.lua +++ b/frames/window_breakdown/window_playerbreakdown.lua @@ -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