mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-30 23:30:10 +00:00
Achievements: Fix imgui assertion in leaderboard view
This commit is contained in:
parent
71a60f95df
commit
33b1e82e34
@ -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…
x
Reference in New Issue
Block a user