mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Update
This commit is contained in:
@@ -37,7 +37,7 @@ nodes {
|
||||
}
|
||||
type: TYPE_TEXT
|
||||
text: "Left Right Selector"
|
||||
font: "text_bold"
|
||||
font: "druid_text_bold"
|
||||
id: "text_name"
|
||||
pivot: PIVOT_W
|
||||
outline {
|
||||
@@ -191,7 +191,7 @@ nodes {
|
||||
}
|
||||
type: TYPE_TEXT
|
||||
text: "42"
|
||||
font: "text_bold"
|
||||
font: "druid_text_bold"
|
||||
id: "text_value"
|
||||
outline {
|
||||
x: 1.0
|
||||
|
@@ -214,8 +214,7 @@ end
|
||||
|
||||
---@private
|
||||
function M:create_from_prefab(widget_class, widget_name, prefab)
|
||||
local nodes = gui.clone_tree(prefab)
|
||||
local instance = self.druid:new_widget(widget_class, widget_name, nodes)
|
||||
local instance = self.druid:new_widget(widget_class, widget_name, prefab)
|
||||
self:add_property(instance)
|
||||
return instance
|
||||
end
|
||||
|
Reference in New Issue
Block a user