mirror of
https://github.com/Insality/druid
synced 2025-11-26 19:00:52 +01:00
Basic examples done
This commit is contained in:
@@ -16,4 +16,12 @@ function M:set_value(value)
|
||||
end
|
||||
|
||||
|
||||
---@param properties_panel properties_panel
|
||||
function M:properties_control(properties_panel)
|
||||
properties_panel:add_slider("ui_value", 1, function(value)
|
||||
self:set_value(value)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
|
||||
@@ -16,4 +16,12 @@ function M:set_value(value)
|
||||
end
|
||||
|
||||
|
||||
---@param properties_panel properties_panel
|
||||
function M:properties_control(properties_panel)
|
||||
properties_panel:add_slider("ui_value", 1, function(value)
|
||||
self:set_value(value)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user