Achievements: Fix imgui assertion in leaderboard view

This commit is contained in:
Stenzek 2025-06-28 12:31:19 +10:00
parent 71a60f95df
commit 33b1e82e34
No known key found for this signature in database

View File

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