diff options
| author | foamyguy <foamyguy@gmail.com> | 2020-11-10 14:02:22 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 14:02:22 -0600 |
| commit | b9ccc62b97f8dda49636eba6ad19f544d9ffca62 (patch) | |
| tree | e7468a60a474d7e899f58be9e80a068b87d35d03 /shared-module | |
| parent | cf21c4da601e00a614efd8ade774a0c8e5444c64 (diff) | |
| parent | 75a977febd27fc69f2c2dc3c017e765d215be633 (diff) | |
Merge pull request #2 from adafruit/main
merging from adafruit
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/displayio/TileGrid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-module/displayio/TileGrid.c b/shared-module/displayio/TileGrid.c index e3642107f..19ea10e55 100644 --- a/shared-module/displayio/TileGrid.c +++ b/shared-module/displayio/TileGrid.c @@ -83,10 +83,16 @@ bool common_hal_displayio_tilegrid_get_hidden(displayio_tilegrid_t* self) { void common_hal_displayio_tilegrid_set_hidden(displayio_tilegrid_t* self, bool hidden) { self->hidden = hidden; + if(!hidden){ + self->full_change = true; + } } void displayio_tilegrid_set_hidden_by_parent(displayio_tilegrid_t *self, bool hidden) { self->hidden_by_parent = hidden; + if(!hidden){ + self->full_change = true; + } } bool displayio_tilegrid_get_previous_area(displayio_tilegrid_t *self, displayio_area_t* area) { |
