Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Halved the size of the spinner (back to the size it originally was) #328

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/runtime_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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, 5.0f * _font_size / 13);
}
else
#endif
Expand Down Expand Up @@ -1904,7 +1904,7 @@ void reshade::runtime::draw_gui_home()
if (_reload_remaining_effects != std::numeric_limits<size_t>::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, 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
}

Expand Down