From 506205743c94a2b72a1d4ea49e01f2987a6fdf84 Mon Sep 17 00:00:00 2001 From: Neradoc Date: Mon, 7 Apr 2025 00:20:51 +0200 Subject: [PATCH] fix dirty palette never being clean by setting dirty on shapes that depend on it --- shared-module/vectorio/VectorShape.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shared-module/vectorio/VectorShape.c b/shared-module/vectorio/VectorShape.c index 680a9f157c360..3ac752f327ce3 100644 --- a/shared-module/vectorio/VectorShape.c +++ b/shared-module/vectorio/VectorShape.c @@ -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);