Skip to content

Commit 4712a9d

Browse files
committed
remove old conditions
1 parent f8948c2 commit 4712a9d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

shared-module/displayio/Group.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ void displayio_group_finish_refresh(displayio_group_t *self) {
438438
}
439439

440440
displayio_area_t *displayio_group_get_refresh_areas(displayio_group_t *self, displayio_area_t *tail) {
441-
//if (! self->hidden){
442441
if (self->item_removed) {
443442
self->dirty_area.next = tail;
444443
tail = &self->dirty_area;
@@ -458,9 +457,7 @@ displayio_area_t *displayio_group_get_refresh_areas(displayio_group_t *self, dis
458457
self->members->items[i], &displayio_tilegrid_type);
459458
if (layer != MP_OBJ_NULL) {
460459
if (!displayio_tilegrid_get_rendered_hidden(layer)) {
461-
//if (!common_hal_displayio_tilegrid_get_hidden(layer)){
462460
tail = displayio_tilegrid_get_refresh_areas(layer, tail);
463-
//}
464461
}
465462
continue;
466463
}
@@ -470,7 +467,6 @@ displayio_area_t *displayio_group_get_refresh_areas(displayio_group_t *self, dis
470467
tail = displayio_group_get_refresh_areas(layer, tail);
471468
continue;
472469
}
473-
// }
474470
}
475471

476472
return tail;

0 commit comments

Comments
 (0)