mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-04 08:23:50 +00:00
refactor: replace 20 more kTooltipGold inline literals across UI files
Replace remaining ImVec4(1.0f, 0.82f, 0.0f, 1.0f) gold color literals in game_screen.cpp (19) and talent_screen.cpp (1) with the shared colors::kTooltipGold constant. Zero inline gold literals remain.
This commit is contained in:
parent
7015e09f90
commit
eb40478b5e
2 changed files with 20 additions and 20 deletions
|
|
@ -543,7 +543,7 @@ void TalentScreen::renderTalent(game::GameHandler& gameHandler,
|
|||
auto tooltipIt = spellTooltips.find(talent.rankSpells[currentRank - 1]);
|
||||
if (tooltipIt != spellTooltips.end() && !tooltipIt->second.empty()) {
|
||||
ImGui::Spacing();
|
||||
ImGui::TextColored(ImVec4(1.0f, 0.82f, 0.0f, 1.0f), "Current:");
|
||||
ImGui::TextColored(ui::colors::kTooltipGold, "Current:");
|
||||
ImGui::TextWrapped("%s", tooltipIt->second.c_str());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue