Fixed bug with editor ui for read-only fields
This commit is contained in:
@@ -218,7 +218,7 @@ generate_member_ui_imgui :: (type: *Type_Info_Struct, builder: *String_Builder,
|
||||
}
|
||||
|
||||
if readonly {
|
||||
print_to_builder(builder, "\tImGui.Text(\"%\", e.%);\n", new_path, new_path);
|
||||
print_to_builder(builder, "\tImGui.Text(\"% \%\", e.%);\n", new_path, new_path);
|
||||
} else {
|
||||
if tag == {
|
||||
case .STRUCT; {
|
||||
|
||||
Reference in New Issue
Block a user