CorruptedArk / open-chaos-chess

Open Chaos Chess is a free and open source version of Chaos Chess, stripped of Google Play Services.
GNU General Public License v3.0
50 stars 7 forks source link

Checkmark colors don't match board color 1 #33

Closed Vuldora closed 3 years ago

Vuldora commented 3 years ago

Describe the bug The color of the checkmarks in the options menu for "Enable Handicap" option and "Agressive Computer" option don't always match "Board Color 1".

When you change board color 1, the color of the checkmark for "Bloodthirst by default" option changes immeditaly which is expected behavior.

However, the "Agressive Computer" option checkmark retains the previous board color until you reopen the menu.

The "Enable handicap" checkmark color never changes no matter what you do, it will always remain red.

To Reproduce Steps to reproduce the behavior:

  1. Go to settings menu.
  2. Change board color 1 to any color.
  3. Save colors.
  4. See error.

Expected behavior All checkmarks should have the same color as board color 1 immeditaly after the color gers changed.

Screenshots Screenshot_20210331-113322_Open Chaos Chess.jpg

Smartphone

CorruptedArk commented 3 years ago

Good catch, I did a quick look at the code and I know what's wrong. I'll fix that next time I'm working on it.