mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
Whitespace fixes
This commit is contained in:
parent
87e6f6ef1f
commit
c38354e532
@ -37,7 +37,7 @@ end
|
||||
--- Create UI instance for ui elements
|
||||
-- @return instance with all ui components
|
||||
function M.new(self)
|
||||
if register_basic_components then
|
||||
if register_basic_components then
|
||||
register_basic_components()
|
||||
register_basic_components = false
|
||||
end
|
||||
|
@ -29,16 +29,16 @@ function init(self)
|
||||
self.druid:new_button("button_1", function()
|
||||
print("On button 1")
|
||||
end)
|
||||
|
||||
|
||||
--alternative way of component creation
|
||||
self.druid:new(druid.comps.button, "button_2", function()
|
||||
print("On button 2")
|
||||
end)
|
||||
|
||||
|
||||
self.druid:new_button("button_3", function()
|
||||
print("On button 3")
|
||||
end)
|
||||
|
||||
|
||||
self.druid:new_android_back(function(self, params)
|
||||
print("On android back", params)
|
||||
end, 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user