From 9da9059861a8e7f58e256970820200dbdca71d1f Mon Sep 17 00:00:00 2001 From: Christian Cann Schuldt Jensen Date: Sat, 14 Sep 2024 21:12:30 +0200 Subject: [PATCH 1/2] Halved the size of the spinner (back to the size it originally was) --- source/runtime_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/runtime_gui.cpp b/source/runtime_gui.cpp index 847ce2fcbe..2090224337 100644 --- a/source/runtime_gui.cpp +++ b/source/runtime_gui.cpp @@ -1141,7 +1141,7 @@ void reshade::runtime::draw_gui() #if RESHADE_FX if (show_spinner) { - imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 16.0f * _font_size / 13, 10.0f * _font_size / 13); + imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 8.0f * _font_size / 13, 10.0f * _font_size / 13); } else #endif @@ -1904,7 +1904,7 @@ void reshade::runtime::draw_gui_home() if (_reload_remaining_effects != std::numeric_limits::max()) { ImGui::SetCursorPos(ImGui::GetWindowSize() * 0.5f - ImVec2(21, 21)); - imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 16.0f * _font_size / 13, 10.0f * _font_size / 13); + imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 8.0f * _font_size / 13, 10.0f * _font_size / 13); return; // Cannot show techniques and variables while effects are loading, since they are being modified in other threads during that time } From 357b7ff730bd827544a4ec063a1a4ef098173aec Mon Sep 17 00:00:00 2001 From: Christian Cann Schuldt Jensen Date: Sat, 14 Sep 2024 21:25:01 +0200 Subject: [PATCH 2/2] Fixed the second part of the size The width of the spinner I think --- source/runtime_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/runtime_gui.cpp b/source/runtime_gui.cpp index 2090224337..a1c246acd3 100644 --- a/source/runtime_gui.cpp +++ b/source/runtime_gui.cpp @@ -1141,7 +1141,7 @@ void reshade::runtime::draw_gui() #if RESHADE_FX if (show_spinner) { - imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 8.0f * _font_size / 13, 10.0f * _font_size / 13); + imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 8.0f * _font_size / 13, 5.0f * _font_size / 13); } else #endif @@ -1904,7 +1904,7 @@ void reshade::runtime::draw_gui_home() if (_reload_remaining_effects != std::numeric_limits::max()) { ImGui::SetCursorPos(ImGui::GetWindowSize() * 0.5f - ImVec2(21, 21)); - imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 8.0f * _font_size / 13, 10.0f * _font_size / 13); + imgui::spinner((_effects.size() - _reload_remaining_effects) / float(_effects.size()), 8.0f * _font_size / 13, 5.0f * _font_size / 13); return; // Cannot show techniques and variables while effects are loading, since they are being modified in other threads during that time }