Updated LibOpenRaid and DetailsFramework

This commit is contained in:
Tercio Jose
2022-10-09 19:47:56 -03:00
parent 9974a87119
commit 944178f76f
126 changed files with 15502 additions and 15495 deletions
+6 -6
View File
@@ -12,7 +12,7 @@
local _
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--> basic functions
--basic functions
_detalhes.current_row_animation = ""
_detalhes.row_animation_pool = {}
@@ -35,7 +35,7 @@
end
function _detalhes:SelectRowAnimation (name)
for key, value in ipairs (_detalhes.row_animation_pool) do
for key, value in ipairs(_detalhes.row_animation_pool) do
if (value.name == name) then
_detalhes.current_row_animation = name
return true
@@ -46,21 +46,21 @@
function _detalhes:GetRowAnimationList()
local t = {}
for key, value in ipairs (_detalhes.row_animation_pool) do
for key, value in ipairs(_detalhes.row_animation_pool) do
tinsert (t, value.name)
end
return t
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--> install default animations
--install default animations
do
local fade_func = function(row, state)
if (state) then
Details.FadeHandler.Fader (row, "out")
Details.FadeHandler.Fader(row, "out")
else
Details.FadeHandler.Fader (row, "in")
Details.FadeHandler.Fader(row, "in")
end
end
local fade_desc = "Default animation, makes the bar fade in or fade out when showing or hiding in the window"