Achievements: Fix imgui assertion in leaderboard view

pull/3466/head
Stenzek 4 months ago
parent 71a60f95df
commit 33b1e82e34
No known key found for this signature in database

@ -3302,6 +3302,9 @@ void Achievements::DrawLeaderboardsWindow()
const ImVec2 line_end(end_x, line_start.y); const ImVec2 line_end(end_x, line_start.y);
ImGui::GetWindowDrawList()->AddLine(line_start, line_end, ImGui::GetColorU32(ImGuiCol_TextDisabled), ImGui::GetWindowDrawList()->AddLine(line_start, line_end, ImGui::GetColorU32(ImGuiCol_TextDisabled),
line_thickness); line_thickness);
// keep imgui happy
ImGui::Dummy(ImVec2(end_x - column_heading_pos.x, column_heading_pos.y - line_end.y));
} }
} }
ImGuiFullscreen::EndFullscreenWindow(); ImGuiFullscreen::EndFullscreenWindow();

Loading…
Cancel
Save