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 {
|
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 {
|
} else {
|
||||||
if tag == {
|
if tag == {
|
||||||
case .STRUCT; {
|
case .STRUCT; {
|
||||||
|
|||||||
Reference in New Issue
Block a user