Add first implementation of druid styles (only button)

This commit is contained in:
Insality
2019-12-05 23:40:17 +03:00
parent 89933dfaf5
commit efef4d194d
9 changed files with 120 additions and 107 deletions

View File

@@ -58,7 +58,7 @@ local function init_progress(self)
local simple = self.druid:new_progress("simple_fill", "x", val)
local vert = self.druid:new_progress("simple_vert_fill", "y", val)
simple:set_steps({0, 0.3, 0.6, 1}, function(self, step)
simple:set_steps({0, 0.3, 0.6, 1}, function(_, step)
print("STEP:", step)
end)