diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-08-27 16:03:05 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-09-03 16:15:27 -0700 |
| commit | 949f8761b8c41ecbf8660bcd5a333890a37e426e (patch) | |
| tree | 850cc67d0aa4c91414552292be63b5202215b608 /supervisor/shared | |
| parent | e92b5f7e3e16fc118929f373366ca79519ab1182 (diff) | |
Add .hidden to TileGrid and Group
This allows for one to preserve ordering within a Group while
hiding something temporarily.
Fixes #1688
Diffstat (limited to 'supervisor/shared')
| -rw-r--r-- | supervisor/shared/display.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/supervisor/shared/display.c b/supervisor/shared/display.c index 586b6f8be..c6fda0f16 100644 --- a/supervisor/shared/display.c +++ b/supervisor/shared/display.c @@ -222,7 +222,8 @@ displayio_tilegrid_t blinka_sprite = { .tiles = 0, .partial_change = false, .full_change = false, - .first_draw = true, + .hidden = false, + .hidden_by_parent = false, .moved = false, .inline_tiles = true, .in_group = true @@ -242,5 +243,7 @@ displayio_group_t circuitpython_splash = { .max_size = 2, .children = splash_children, .item_removed = false, - .in_group = false + .in_group = false, + .hidden = false, + .hidden_by_parent = false }; |
