From 97b34c5e9870795c3cb1c05286071a6cdf80f6ca Mon Sep 17 00:00:00 2001 From: redpolline <11156324-redpolline@users.noreply.gitlab.com> Date: Wed, 12 Feb 2025 07:14:04 -0500 Subject: [PATCH] Add dummy UI object if achievement isn't loaded. This should prevent the achievements list in the steam overlay from being unreadable when the images are not able to be displayed. --- overlay_experimental/steam_overlay.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/overlay_experimental/steam_overlay.cpp b/overlay_experimental/steam_overlay.cpp index 004b096..75b59c9 100644 --- a/overlay_experimental/steam_overlay.cpp +++ b/overlay_experimental/steam_overlay.cpp @@ -2062,6 +2062,9 @@ int Steam_Overlay::display_imgui_image(uint32_t displayImageType, } } } + if (ret != 1) { + ImGui::Dummy(image_size); + } break; case displayImageTypeAvatar: // User Avatars