lazy layout update

This commit is contained in:
BlackMATov
2020-02-07 11:53:34 +07:00
parent 1d3a00b15d
commit 4eb215353f
8 changed files with 134 additions and 15 deletions

View File

@@ -0,0 +1,9 @@
{
"components" : {
"named" : {
"name" : "layout"
},
"layout" : {},
"layout.dirty" : {}
}
}

View File

@@ -5,12 +5,7 @@
},{
"prototype" : "../prefabs/camera_prefab.json"
},{
"components" : {
"named" : {
"name" : "layout"
},
"layout" : {}
},
"prototype" : "../prefabs/layout_prefab.json",
"children" : [{
"components" : {
"named" : {

View File

@@ -12,6 +12,9 @@ local layout = {
---@type boolean
disabled = false,
---@type boolean
dirty = false,
---@type layout_modes
mode = layout.modes.horizontal,