From: <gi...@cr...> - 2025-07-28 05:20:11
|
via 202f19ae06af17b68d3c876fcf654ed3ff69992e (commit) from a9e21796bea91c3fec0b9a281880e78f86b94e80 (commit) ----------------------------------------------------------------------- commit 202f19ae06af17b68d3c876fcf654ed3ff69992e Author: Perry Fraser <per...@us...> Date: Mon Jul 28 01:18:18 2025 -0400 fix: make '[X] to wear' text coloring gray (#4675) The text for `easy_floor_use` in the case of floor items didn't have any explicit color information set, causing the color of the nearby cyan text to partially overlap. This fixes that by just explicitly setting it as lightgray. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/item-use.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crawl-ref/source/item-use.cc b/crawl-ref/source/item-use.cc index 9fde000cd7..a36962561c 100644 --- a/crawl-ref/source/item-use.cc +++ b/crawl-ref/source/item-use.cc @@ -636,9 +636,10 @@ void UseItemMenu::update_sections() floor_header->text = "Floor Items"; if (easy_floor) { - floor_header->text += make_stringf(" (%s to %s)", - menu_keyhelp_cmd(CMD_MENU_CYCLE_HEADERS).c_str(), - _oper_name(oper).c_str()); + floor_header->text += make_stringf( + "<lightgray> (%s to %s)</lightgray>", + menu_keyhelp_cmd(CMD_MENU_CYCLE_HEADERS).c_str(), + _oper_name(oper).c_str()); } else if (is_inventory) floor_header->text += cycle_hint; -- Dungeon Crawl Stone Soup |