Update steam_overlay.cpp

Please
This commit is contained in:
Detanup01 2024-11-17 23:17:02 +01:00 committed by GitHub
parent 0cd118075a
commit 995414e117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1449,7 +1449,7 @@ void Steam_Overlay::render_main_window()
ImGui::TableSetColumnIndex(0); ImGui::TableSetColumnIndex(0);
auto &icon_rsrc = achieved ? x.icon : x.icon_gray; auto &icon_rsrc = achieved ? x.icon : x.icon_gray;
if (icon_rsrc->GetResourceId() != 0)) { if (icon_rsrc->GetResourceId() != 0) {
ImGui::Image( ImGui::Image(
icon_rsrc->GetResourceId(), icon_rsrc->GetResourceId(),
ImVec2(settings->overlay_appearance.icon_size, settings->overlay_appearance.icon_size) ImVec2(settings->overlay_appearance.icon_size, settings->overlay_appearance.icon_size)