Merge pull request #10356 from Neradoc/fix_dirty_palette

Fix dirty palette never being cleaned by vector shapes
This commit is contained in:
Dan Halbert 2025-05-17 22:33:07 +02:00 committed by GitHub
commit d88fe10647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -539,6 +539,7 @@ displayio_area_t *vectorio_vector_shape_get_refresh_areas(vectorio_vector_shape_
self->ephemeral_dirty_area.next = tail;
tail = &self->ephemeral_dirty_area;
} else {
self->current_area_dirty = true;
self->current_area.next = tail;
tail = &self->current_area;
VECTORIO_SHAPE_DEBUG("%p get_refresh_area: redrawing current: {(%3d,%3d), (%3d,%3d)}\n", self, self->current_area.x1, self->current_area.y1, self->current_area.x2, self->current_area.y2);