Optimize draw calls for HTML build, update README

This commit is contained in:
Insality
2020-03-22 00:05:36 +03:00
parent 05c5512fe6
commit e9576632aa
10 changed files with 254 additions and 108 deletions

View File

@@ -19,6 +19,7 @@ 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")