From 7ab0b036c77435ea9ca3d7b2230eee60058d1096 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 11 Mar 2026 21:17:29 -0700 Subject: [PATCH] Add rich item tooltip to buyback item row in vendor window --- src/ui/game_screen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/game_screen.cpp b/src/ui/game_screen.cpp index 1f762719..e94d790a 100644 --- a/src/ui/game_screen.cpp +++ b/src/ui/game_screen.cpp @@ -7841,6 +7841,8 @@ void GameScreen::renderVendorWindow(game::GameHandler& gameHandler) { } else { ImGui::TextColored(bbQc, "%s", name); } + if (ImGui::IsItemHovered() && bbInfo && bbInfo->valid) + inventoryScreen.renderItemTooltip(*bbInfo); ImGui::TableSetColumnIndex(2); if (!canAfford) ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.0f, 0.3f, 0.3f, 1.0f)); ImGui::Text("%ug %us %uc", g, s, c);