8000 move hidden declare inside struct · kdb424/circuitpython@5b64a62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b64a62

Browse files
committed
move hidden declare inside struct
1 parent 56be547 commit 5b64a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/vectorio/VectorShape.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ typedef struct {
3030
mp_obj_t pixel_shader;
3131
int16_t x;
3232
int16_t y;
33-
bool hidden : 1;
3433
displayio_buffer_transform_t *absolute_transform;
3534
// Tracks current shape footprint and expands outward as the shape dirties and changes.
3635
// This is suboptimal if you move your shape far. Could add more state to only redraw
3736
// exactly what we left behind.
3837
displayio_area_t ephemeral_dirty_area;
3938
displayio_area_t current_area;
4039
bool current_area_dirty;
40+
bool hidden;
4141
} vectorio_vector_shape_t;
4242

4343
displayio_area_t *vectorio_vector_shape_get_refresh_areas(vectorio_vector_shape_t *self, displayio_area_t *tail);

0 commit comments

Comments
 (0)
0