use full_change instead of moved

This commit is contained in:
foamyguy 2020-11-09 18:14:31 -06:00
parent 9adb77a2d0
commit 46c9b28dd8

View File

@ -84,14 +84,14 @@ 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->moved = true;
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->moved = true;
self->full_change = true;
}
}