mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add rich item tooltip to buyback item row in vendor window
This commit is contained in:
parent
95ac97a41c
commit
7ab0b036c7
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue