Skip to content

Commit

Permalink
FullscreenUI: Fix progress bar padding in loading screen
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 29, 2025
1 parent 0d9e6bd commit 9b6021b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/imgui_fullscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3173,7 +3173,7 @@ void ImGuiFullscreen::DrawLoadingScreen(std::string_view image, std::string_view
ImGui::TextUnformatted(buf.c_str(), buf.end_ptr());
}

ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5.0f);
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5.0f * scale);

ImGui::ProgressBar(has_progress ?
(static_cast<float>(progress_value) / static_cast<float>(progress_max - progress_min)) :
Expand Down

0 comments on commit 9b6021b

Please sign in to comment.