diff options
| -rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 78fa093..5885e64 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -430,7 +430,7 @@ void RecordImGui_CompInstPos(bool readonly, CompInstance *component) { ImGui::Text("CompInststance + InstPos"); ImGui::Separator(); - ImGui::InputScalar("Instance Index", ImGuiDataType_U64, &component->index, nullptr, nullptr, nullptr, inputTextFlags); + ImGui::InputScalar("Instance Index", ImGuiDataType_U64, &component->index, nullptr, nullptr, nullptr, ImGuiInputTextFlags_ReadOnly); if (component->ptr) { ImGui::InputScalarN("pos", ImGuiDataType_Float, &component->ptr->pos, 3, nullptr, nullptr, nullptr, inputTextFlags); ImGui::InputScalarN("rot", ImGuiDataType_Float, &component->ptr->rot, 3, nullptr, nullptr, nullptr, inputTextFlags); |
