- solo mode will resize the frame if isn't on the correct size.
- new tutorials added to main frame and main frame gear meni. - blizzard help system added to the frame work. - added panic mode and max segments to save options. - fixed a bug where wallpaper isn't change on apply to all. - Vanguard frames are na resizables. - Report button added to Vanguard avoindace info. - Vanguard also now have better tooltips explaining things. - New logo added to tiny threat. - Fixed an issue with dropdowns where no options shown up.
This commit is contained in:
+17
-1
@@ -366,6 +366,14 @@
|
||||
|
||||
local historico_tabelas = _detalhes.tabela_historico.tabelas or {}
|
||||
|
||||
if (_detalhes.segments_amount_to_save and _detalhes.segments_amount_to_save < _detalhes.segments_amount) then
|
||||
for i = _detalhes.segments_amount, _detalhes.segments_amount_to_save+1, -1 do
|
||||
if (_detalhes.tabela_historico.tabelas [i]) then
|
||||
_detalhes.tabela_historico.tabelas [i] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--local tabela_overall = _detalhes.tabela_overall
|
||||
_detalhes.tabela_overall = nil
|
||||
|
||||
@@ -621,8 +629,16 @@
|
||||
end
|
||||
end
|
||||
|
||||
--> Limpa instâncias
|
||||
|
||||
--> panic mode
|
||||
if (_detalhes.segments_panic_mode and _detalhes.in_combat) then
|
||||
if (_detalhes.tabela_vigente.is_boss) then
|
||||
_detalhes.tabela_historico = _detalhes.historico:NovoHistorico()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--> Limpa instâncias
|
||||
for _, esta_instancia in _ipairs (_detalhes.tabela_instancias) do
|
||||
--> detona a janela do Solo Mode
|
||||
|
||||
|
||||
+28
-24
@@ -357,35 +357,39 @@
|
||||
|
||||
function gump:Fade (frame, tipo, velocidade, parametros)
|
||||
|
||||
if (_type (frame) == "table" and frame.meu_id) then --> ups, é uma instância
|
||||
if (parametros == "barras") then --> hida todas as barras da instância
|
||||
if (velocidade) then
|
||||
for i = 1, frame.barrasInfo.criadas, 1 do
|
||||
gump:Fade (frame.barras[i], tipo, velocidade)
|
||||
if (_type (frame) == "table") then
|
||||
if (frame.meu_id) then --> ups, é uma instância
|
||||
if (parametros == "barras") then --> hida todas as barras da instância
|
||||
if (velocidade) then
|
||||
for i = 1, frame.barrasInfo.criadas, 1 do
|
||||
gump:Fade (frame.barras[i], tipo, velocidade)
|
||||
end
|
||||
return
|
||||
else
|
||||
velocidade = velocidade or 0.3
|
||||
for i = 1, frame.barrasInfo.criadas, 1 do
|
||||
gump:Fade (frame.barras[i], tipo, 0.3+(i/10))
|
||||
end
|
||||
return
|
||||
end
|
||||
return
|
||||
else
|
||||
velocidade = velocidade or 0.3
|
||||
elseif (parametros == "hide_barras") then --> hida todas as barras da instância
|
||||
for i = 1, frame.barrasInfo.criadas, 1 do
|
||||
gump:Fade (frame.barras[i], tipo, 0.3+(i/10))
|
||||
local esta_barra = frame.barras[i]
|
||||
if (esta_barra.fading_in or esta_barra.fading_out) then
|
||||
esta_barra.fadeInfo.finishedFunc = nil
|
||||
_UIFrameFadeIn (esta_barra, 0.01, esta_barra:GetAlpha(), esta_barra:GetAlpha())
|
||||
end
|
||||
esta_barra.hidden = true
|
||||
esta_barra.faded = true
|
||||
esta_barra.fading_in = false
|
||||
esta_barra.fading_out = false
|
||||
esta_barra:Hide()
|
||||
esta_barra:SetAlpha(0)
|
||||
end
|
||||
return
|
||||
end
|
||||
elseif (parametros == "hide_barras") then --> hida todas as barras da instância
|
||||
for i = 1, frame.barrasInfo.criadas, 1 do
|
||||
local esta_barra = frame.barras[i]
|
||||
if (esta_barra.fading_in or esta_barra.fading_out) then
|
||||
esta_barra.fadeInfo.finishedFunc = nil
|
||||
_UIFrameFadeIn (esta_barra, 0.01, esta_barra:GetAlpha(), esta_barra:GetAlpha())
|
||||
end
|
||||
esta_barra.hidden = true
|
||||
esta_barra.faded = true
|
||||
esta_barra.fading_in = false
|
||||
esta_barra.fading_out = false
|
||||
esta_barra:Hide()
|
||||
esta_barra:SetAlpha(0)
|
||||
end
|
||||
return
|
||||
elseif (frame.dframework) then
|
||||
frame = frame.widget
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user