Jeff Epler 28bd29eb42 displayio: ColorConverter: fix logic errors about transparent pixels
The transparent_color field was never initialized.  I _think_ this means
its value was always set to 0, or the blackest of blacks.  Instead,
initialize it to the sentinel value, newly given the name
NO_TRANSPARENT_COLOR.

This exposed a second problem: The test for whether there was an existing
transparent color was wrong (backwards).  I am guessing that this was not
found due to the first bug; since the converter had a transparent color,
the correct test would have led to always getting the error "Only one
color can be transparent at a time".

Closes #3723
2020-12-16 13:48:27 -06:00
..
2019-06-12 11:32:39 -07:00
2020-08-21 14:37:32 -05:00
2020-10-26 16:59:59 -07:00
2020-09-24 22:07:33 -04:00
2020-05-10 15:36:23 -07:00
2019-09-04 10:27:21 -07:00
2019-08-22 16:16:09 -07:00
2020-11-18 16:32:07 -08:00
2020-10-26 16:59:59 -07:00
2020-11-09 18:14:31 -06:00
2019-09-04 10:27:21 -07:00