Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom color settings for h_light_gray does not work in multiple ways. #22640

Open
Papaya-Plan opened this issue Dec 18, 2017 · 1 comment
Open
Labels
<Bug> This needs to be fixed Info / User Interface Game - player communication, menus, etc.

Comments

@Papaya-Plan
Copy link
Contributor

Game version:
0.C-25510-gcd4b410 (tiles)

Operating system:
Windows 10

Tiles or curses:
Tiles

Mods active:
Default

Expected behavior

On pick-up item menu from 'e -> direction' or 'g', the color-scheme for the items on the list should be c_light_gray, or the user-defined custom color, and the currently highlight item on the list should be be "h_light_gray", or the user-defined custom color.

Actual behavior

  1. Changing h_light_gray does nothing.
    h_light_gray not working

  2. Changing c_light_gray to Color_Y, and changing i_Foo to Colour_Y, changes the color of the highlighted item to H_Foo (e.g. changing c_light_gray and h_magenta to i_red turns the highlighted item to h_magenta
    highlighted item is h_pink now

  3. changing c_light_gray and c_light_cyan_yellow (and possibly other colours above c_light_gray on the list) changes the highlighted item to c_light_gray (in this screenshot, "a - folded emergency blanket" is still the highlighted item
    selected item is c_light gray

  4. changing c_light_gray to c_foo changes the highlighted item colours to H_foo. E.g. C_light_gray to c_green causes highlighted item colours to resemble h_green (but changing h_green to a custom color has no effect)
    selected item is green on blue for some reason
    N.B. changing c_light_gray and i_red to c_green changes highlited text to i_red, as with point 2

Steps to reproduce the behavior

From the escape menu, choose '5 Custom Colors', change h_light_gray to something else, stand on a tile with multiple items present, press g, observe that the item highlighted is still colored the original h_light_gray and not the selected color. Other issues can be reproduced as above.

@ituluwituluwzev ituluwituluwzev added the Info / User Interface Game - player communication, menus, etc. label Dec 19, 2017
@illi-kun illi-kun added the <Bug> This needs to be fixed label Mar 2, 2018
@alef
Copy link
Contributor

alef commented Nov 18, 2022

The currently selected item is painted in h_white, not h_light_gray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

No branches or pull requests

4 participants