This commit is contained in:
Insality
2025-08-11 23:59:46 +03:00
parent a94121a1c6
commit b6a7df5ff2
2 changed files with 6 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ end
---@param node_or_container node|string|druid.container|table The node or container to add
---@param mode string|nil stretch, fit, stretch_x, stretch_y. Default: Pick from node, "fit" or "stretch"
---@param mode druid.container.mode|nil stretch, fit, stretch_x, stretch_y. Default: Pick from node, "fit" or "stretch"
---@param on_resize_callback fun(self: userdata, size: vector3)|nil
---@return druid.container Container New created layout instance
function M:add_container(node_or_container, mode, on_resize_callback)