Rewrite on Faders: Details.FadeHandler.Fader(frame, animationType, speed, hideType)
This commit is contained in:
@@ -982,7 +982,7 @@
|
||||
end
|
||||
|
||||
if (thisLine.hidden or thisLine.fading_in or thisLine.faded) then
|
||||
gump:Fade (thisLine, "out")
|
||||
Details.FadeHandler.Fader (thisLine, "out")
|
||||
end
|
||||
|
||||
if (instancia.row_info.texture_class_colors) then
|
||||
@@ -1169,7 +1169,7 @@
|
||||
thisLine.lineText4:SetTextColor (1, 1, 1, 1)
|
||||
|
||||
if (thisLine.hidden or thisLine.fading_in or thisLine.faded) then
|
||||
gump:Fade (thisLine, "out")
|
||||
Details.FadeHandler.Fader (thisLine, "out")
|
||||
end
|
||||
|
||||
Details:SetBarColors (thisLine, instancia, _unpack (Details.class_colors [tabela [3]]))
|
||||
@@ -1586,7 +1586,7 @@
|
||||
thisLine:SetValue (100)
|
||||
|
||||
if (thisLine.hidden or thisLine.fading_in or thisLine.faded) then
|
||||
gump:Fade (thisLine, "out")
|
||||
Details.FadeHandler.Fader (thisLine, "out")
|
||||
end
|
||||
|
||||
local _, _, icon = GetSpellInfo (self.damage_spellid)
|
||||
@@ -2136,7 +2136,7 @@ function atributo_damage:RefreshWindow (instancia, tabela_do_combate, forcar, ex
|
||||
if (forcar) then
|
||||
if (instancia.modo == 2) then --> group
|
||||
for i = 1, instancia.rows_fit_in_window do
|
||||
gump:Fade (instancia.barras [i], "in", 0.3)
|
||||
Details.FadeHandler.Fader (instancia.barras [i], "in", 0.3)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -2241,7 +2241,7 @@ function atributo_damage:RefreshWindow (instancia, tabela_do_combate, forcar, ex
|
||||
row1.icone_classe:SetTexture (instancia.total_bar.icon)
|
||||
row1.icone_classe:SetTexCoord (0.0625, 0.9375, 0.0625, 0.9375)
|
||||
|
||||
gump:Fade (row1, "out")
|
||||
Details.FadeHandler.Fader (row1, "out")
|
||||
totalBarIsShown = true
|
||||
|
||||
if (following and myPos and myPos > instancia.rows_fit_in_window and instancia.barraS[2] < myPos) then
|
||||
@@ -2313,7 +2313,7 @@ function atributo_damage:RefreshWindow (instancia, tabela_do_combate, forcar, ex
|
||||
row1.icone_classe:SetTexture (instancia.total_bar.icon)
|
||||
row1.icone_classe:SetTexCoord (0.0625, 0.9375, 0.0625, 0.9375)
|
||||
|
||||
gump:Fade (row1, "out")
|
||||
Details.FadeHandler.Fader (row1, "out")
|
||||
totalBarIsShown = true
|
||||
|
||||
if (following and myPos and myPos > instancia.rows_fit_in_window and instancia.barraS[2] < myPos) then
|
||||
@@ -2370,7 +2370,7 @@ function atributo_damage:RefreshWindow (instancia, tabela_do_combate, forcar, ex
|
||||
if (forcar) then
|
||||
if (instancia.modo == 2) then --> group
|
||||
for i = whichRowLine, instancia.rows_fit_in_window do
|
||||
gump:Fade (instancia.barras [i], "in", 0.3)
|
||||
Details.FadeHandler.Fader (instancia.barras [i], "in", 0.3)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -2689,7 +2689,7 @@ end
|
||||
thisLine:SetValue (100)
|
||||
|
||||
if (thisLine.hidden or thisLine.fading_in or thisLine.faded) then
|
||||
gump:Fade (thisLine, "out")
|
||||
Details.FadeHandler.Fader (thisLine, "out")
|
||||
end
|
||||
|
||||
return self:RefreshBarra (thisLine, instance)
|
||||
@@ -2707,7 +2707,7 @@ end
|
||||
thisLine.animacao_ignorar = true
|
||||
end
|
||||
|
||||
gump:Fade (thisLine, "out")
|
||||
Details.FadeHandler.Fader (thisLine, "out")
|
||||
|
||||
return self:RefreshBarra (thisLine, instance)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user