diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-01-11 10:33:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-11 10:33:16 -0800 |
| commit | 62a8cc28250917f1dbd53a835f75a3481be39476 (patch) | |
| tree | e91da6a9dbd346fa826c468db7238051212f0eb9 /shared-module | |
| parent | 573c6d60baedc9c06f6d7f274f45cf73c4b4283a (diff) | |
| parent | b2cec6275c66a4854e2386a5b65644a4a72ae57e (diff) | |
Merge pull request #1453 from tannewt/text_on_pyportal
Enable the display on pyportal
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/displayio/Group.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-module/displayio/Group.c b/shared-module/displayio/Group.c index 655376da0..93ac35964 100644 --- a/shared-module/displayio/Group.c +++ b/shared-module/displayio/Group.c @@ -71,6 +71,10 @@ bool displayio_group_get_pixel(displayio_group_t *self, int16_t x, int16_t y, ui if (displayio_sprite_get_pixel(layer, x, y, pixel)) { return true; } + } else if (MP_OBJ_IS_TYPE(layer, &displayio_group_type)) { + if (displayio_group_get_pixel(layer, x, y, pixel)) { + return true; + } } // TODO: Tiled layer } |
