fix(pxp) change LV_COLOR_TRANSP to LV_COLOR_CHROMA_KEY to v8 compatibility

Fixes #2289
This commit is contained in:
Gabor Kiss-Vamosi
2021-06-07 14:02:53 +02:00
parent a4d854291a
commit 70911accf5
2 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ lv_color_t c = lv_color_mix(c1, c2, ratio);
```
### Built-in colors
`lv_color_white()` and `lv_color_black` are return a color with `0xFFFFFF` and `0x000000`.
`lv_color_white()` and `lv_color_black()` are return a color with `0xFFFFFF` and `0x000000`.
## Opacity
To describe opacity the `lv_opa_t` type is created as a wrapper to `uint8_t`. Some defines are also introduced: