Add dynamic grid to navigate example

This commit is contained in:
Insality
2021-04-05 23:16:52 +03:00
parent 63d9d0260f
commit 015564f5b3
4 changed files with 944 additions and 29 deletions

View File

@@ -17,7 +17,6 @@ end
local function setup_button(self)
local b = self.druid:new_button("button_simple", lang.toggle_locale, "button_param")
self.druid:new_button("button_template/button", function()
msg.post("@system:", "toggle_profile")
print(b:is_enabled())
b:set_enabled(not b:is_enabled())
end, "button_param")