Issue description
If you mouse over the recipes button and click, the window that is displayed varies based on if the button shows white or yellow.
If the button is white, you get the inventory screen. If the button in yellow, you get the recipes. It seems that it only works if you have the cursor over the foreground parts of the button (white parts that turn yellow), and does not work correctly if you have your mouse on the background parts (dark grey).
This behavior has been present since at least 0.4.8x but I've finally narrowed down exactly what's happening.
Expected behavior
Clicking anywhere on the recipes button should show the recipes screen.
Ideally, I think the button should show yellow when you mouse over it regardless of whether you are on the foreground or background parts of the button.
Reproduction steps
- Mouse over the dark part of the recipes button, ensure the button does not show yellow.
- Click. Should get the inventory screen
- Click again to clear.
- Move mouse to foreground part (light colored part)
- Click. Should get the recipe screen
- Click again to clear.
- Repeat.
Game version
v0.4.9c
