FSUI: Fix CenterImage() fill when using ImRect for fit

This commit is contained in:
TheLastRar authored and lightningterror committed 2025-05-03 15:00:31 +02:00
1 parent d613701780
commit b67c03cc75
1 file changed
+1 -1
+1 -1
View File
@@ -671,7 +671,7 @@ ImRect ImGuiFullscreen::CenterImage(const ImVec2& fit_size, const ImVec2& image_
ImRect ImGuiFullscreen::CenterImage(const ImRect& fit_rect, const ImVec2& image_size, bool fill)
{
ImRect ret(CenterImage(fit_rect.Max - fit_rect.Min, image_size));
ImRect ret(CenterImage(fit_rect.Max - fit_rect.Min, image_size, fill));
ret.Translate(fit_rect.Min);
return ret;
}