- Second pass on Patch 8.0.1

This commit is contained in:
Tercio
2018-07-17 13:31:22 -03:00
parent df9ce12b82
commit dba05908ec
96 changed files with 2018 additions and 2006 deletions
+4 -4
View File
@@ -552,7 +552,7 @@ do
_detalhes.switch.current_instancia = nil
end
--> limitação: não tenho como pegar o base frame da instância por aqui
--> limitao: no tenho como pegar o base frame da instncia por aqui
frame.close = gump:NewDetailsButton (frame, frame, _, function() end, nil, nil, 1, 1, "", "", "", "", {rightFunc = {func = _detalhes.switch.CloseMe, param1 = nil, param2 = nil}}, "DetailsSwitchPanelClose")
frame.close:SetPoint ("topleft", frame, "topleft")
frame.close:SetPoint ("bottomright", frame, "bottomright")
@@ -1095,7 +1095,7 @@ function _detalhes:FastSwitch (button, bookmark, bookmark_number, select_new)
end
-- nao tem suporte a solo mode tank mode
-- nao tem suporte a custom até agora, não sei como vai ficar
-- nao tem suporte a custom at agora, no sei como vai ficar
function _detalhes.switch:InitSwitch()
local instancia = _detalhes.tabela_instancias [1]
@@ -1173,7 +1173,7 @@ function _detalhes.switch:Update()
if (options and options.sub_atributo) then
if (options.atributo == 5) then --> custom
local CustomObject = _detalhes.custom [options.sub_atributo]
if (not CustomObject) then --> ele já foi deletado
if (not CustomObject) then --> ele j foi deletado
icone = [[Interface\AddOns\Details\images\icons]]
coords = add_coords
name = Loc ["STRING_SWITCH_CLICKME"]
@@ -1604,4 +1604,4 @@ function _detalhes.switch:NewSwitchButton (frame, index, x, y, rightButton)
return button
end
--doa
--doa