UI fixes and new layout features
This commit is contained in:
@@ -123,10 +123,12 @@ generate_member_ui :: (type: *Type_Info_Struct, builder: *String_Builder, path:
|
||||
for type.members {
|
||||
if should_make_ui(type, it) && should_serialize(type, it) {
|
||||
new_path : string;
|
||||
if path.count == 0 {
|
||||
new_path = it.name;
|
||||
} else {
|
||||
new_path = tprint("%1.%2", path, it.name);
|
||||
if it.name != "entity" {
|
||||
if path.count == 0 {
|
||||
new_path = it.name;
|
||||
} else {
|
||||
new_path = tprint("%1.%2", path, it.name);
|
||||
}
|
||||
}
|
||||
|
||||
type : Type_Info_Tag;
|
||||
|
||||
Reference in New Issue
Block a user