imiolek-ireneusz / eduActiv8

Educational Activities for Kids
https://www.eduactiv8.org
GNU General Public License v3.0
34 stars 26 forks source link

Clock games crash if non-default colour scheme is selected. #38

Closed imiolek-ireneusz closed 4 years ago

imiolek-ireneusz commented 4 years ago

All games displaying a clock face are affected on all platforms. When any high-contrast mode is selected the colours are taken from a scheme colour list. These are saved as tuples of three integers. The clock class then tries to append the fourth value (alpha) and fails to change an immutable object. The affected colours need changing to lists instead before appending a new value.