Start add empty druid style

This commit is contained in:
Insality
2020-01-10 16:44:05 +05:00
parent 125506a4f1
commit 8f32b61ddc
5 changed files with 61 additions and 8 deletions

View File

@@ -54,13 +54,24 @@ M.SCROLL = {
ANIM_SPEED = 0.3, -- gui.animation speed to point
}
M.PROGRESS = {
SPEED = 5, -- progress bar fill rate, more faster
MIN_DELTA = 0.005
}
M.PROGRESS_RICH = {
DELAY = 1, -- delay in seconds before main fill
}
M.CHECKBOX = {
on_change_state = function(self, node, state)
local target = state and 1 or 0
gui.animate(node, "color.w", target, gui.EASING_OUTSINE, 0.1)
end
}
return M