refactor: replace 11 inline white color literals with colors::kWhite
Some checks failed
Build / Build (arm64) (push) Has been cancelled
Build / Build (x86-64) (push) Has been cancelled
Build / Build (macOS arm64) (push) Has been cancelled
Build / Build (windows-arm64) (push) Has been cancelled
Build / Build (windows-x86-64) (push) Has been cancelled
Security / CodeQL (C/C++) (push) Has been cancelled
Security / Semgrep (push) Has been cancelled
Security / Sanitizer Build (ASan/UBSan) (push) Has been cancelled

Replace ImVec4(1.0f, 1.0f, 1.0f, 1.0f) literals in game_screen (10)
and character_screen (1) with the shared kWhite constant.
This commit is contained in:
Kelsi 2026-03-25 19:37:22 -07:00
parent eb40478b5e
commit 33f8a63c99
2 changed files with 11 additions and 11 deletions

View file

@ -522,7 +522,7 @@ ImVec4 CharacterScreen::getFactionColor(game::Race race) const {
return ui::colors::kRed;
}
return ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
return ui::colors::kWhite;
}
std::string CharacterScreen::getConfigDir() {