diff options
Diffstat (limited to 'libs/imgui-1.92.1/imgui.cpp')
| -rw-r--r-- | libs/imgui-1.92.1/imgui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/imgui-1.92.1/imgui.cpp b/libs/imgui-1.92.1/imgui.cpp index 93094eb..6838e50 100644 --- a/libs/imgui-1.92.1/imgui.cpp +++ b/libs/imgui-1.92.1/imgui.cpp @@ -16687,16 +16687,16 @@ void ImGui::LoadingIndicatorCircle(const char* label, const float indicator_radi } ImGuiContext& g = *GImGui; - const ImGuiID id = window->GetID(label); + //const ImGuiID id = window->GetID(label); const ImVec2 pos = window->DC.CursorPos; const float circle_radius = indicator_radius / 12.0f; const float updated_indicator_radius = indicator_radius - 4.0f * circle_radius; const ImRect bb(pos, ImVec2(pos.x + indicator_radius * 2.0f, pos.y + indicator_radius * 2.0f)); - ItemSize(bb); - if (!ItemAdd(bb, id)) { - return; - } + //ItemSize(bb); + //if (!ItemAdd(bb, id)) { + // return; + //} const double t = g.Time; const auto degree_offset = 2.0f * IM_PI / circle_count; for (int i = 0; i < circle_count; ++i) { |
