Fix misc lua errors from cherry-picking

This commit is contained in:
andrew6180
2024-08-26 10:45:07 -07:00
parent f392108ea2
commit c5333db47b
8 changed files with 5 additions and 6 deletions
@@ -799,7 +799,7 @@ function Details:CreateBreakdownWindow()
breakdownWindowFrame.SummaryWindowWidgets:Hide()
local scaleBar = detailsFramework:CreateScaleBar(breakdownWindowFrame, Details.player_details_window)
scaleBar.label:AdjustPointsOffset(-3, 1)
scaleBar.label:AdjustPointOffset(-3, 1)
scaleBar.label:SetTextColor(0.8902, 0.7294, 0.0157, 1)
scaleBar.label:SetIgnoreParentAlpha(true)
breakdownWindowFrame:SetScale(Details.player_details_window.scale)
+1 -1
View File
@@ -9616,7 +9616,7 @@ function gump:CriaCabecalho (baseframe, instancia)
end
end
baseframe.cabecalho.modo_selecao = gump:NewButton(baseframe, nil, "DetailsModeButton"..instancia.meu_id, nil, 16, 16, modeSelector_OnClick, nil, nil, [[Interface\AddOns\Details\images\modo_icone]])
baseframe.cabecalho.modo_selecao = gump:NewButton(baseframe, nil, "DetailsModeButton"..instancia.meu_id, nil, 16, 16, modeSelector_OnClick, nil, nil, [[Interface\AddOns\Details\images\modo_icones]])
baseframe.cabecalho.modo_selecao:SetPoint("bottomleft", baseframe.cabecalho.ball, "bottomright", instancia.menu_anchor [1], instancia.menu_anchor [2])
baseframe.cabecalho.modo_selecao:SetFrameLevel(baseframe:GetFrameLevel()+5)
baseframe.cabecalho.modo_selecao.widget._instance = instancia
@@ -1060,7 +1060,7 @@ function mythicDungeonFrames.ShowEndOfMythicPlusPanel()
readyFrame:Hide()
local backgroundGradient = readyFrame:CreateTexture("$parentBackgroundGradient", "background", nil, 0)
backgroundGradient:SetTexture([[Interface\AddOns\Details\images\gradient_black_transparent.png]], nil, nil, "TRILINEAR")
backgroundGradient:SetTexture([[Interface\AddOns\Details\images\gradient_black_transparent]], nil, nil, "TRILINEAR")
backgroundGradient:SetPoint("topleft", readyFrame, "topleft", 0, 0)
backgroundGradient:SetPoint("bottomright", readyFrame, "bottomright", 0, 0)
backgroundGradient:SetWidth(readyFrame:GetWidth())