Fix misc lua errors from cherry-picking
This commit is contained in:
@@ -1240,8 +1240,8 @@ do
|
||||
---@type table
|
||||
local SharedMedia = LibStub:GetLibrary ("LibSharedMedia-3.0")
|
||||
--default bars
|
||||
SharedMedia:Register("statusbar", "Details Hyanda Reverse", [[Interface\AddOns\Details\images\bar_textures\bar_hyanda_reverse.png]])
|
||||
SharedMedia:Register("statusbar", "You Are the Best!", [[Interface\AddOns\Details\images\bar_textures\bar_best.png]])
|
||||
SharedMedia:Register("statusbar", "Details Hyanda Reverse", [[Interface\AddOns\Details\images\bar_textures\bar_hyanda_reverse]])
|
||||
SharedMedia:Register("statusbar", "You Are the Best!", [[Interface\AddOns\Details\images\bar_textures\bar_best]])
|
||||
SharedMedia:Register("statusbar", "Details Hyanda", [[Interface\AddOns\Details\images\bar_hyanda]])
|
||||
|
||||
SharedMedia:Register("statusbar", "Details D'ictum", [[Interface\AddOns\Details\images\bar4]])
|
||||
|
||||
@@ -207,7 +207,6 @@ end
|
||||
line = _G['DetailsPetOwnerFinderTextLeft1']
|
||||
lineText = line and line:GetText()
|
||||
end
|
||||
end
|
||||
|
||||
if (lineText) then
|
||||
for i=1, #unitNameTitles do
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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())
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 1.3 MiB |
Reference in New Issue
Block a user