1 parent 040beb0 commit 78444a1Copy full SHA for 78444a1
1 file changed
shared-bindings/vectorio/VectorShape.c
@@ -85,8 +85,8 @@ STATIC mp_obj_t vectorio_vector_shape_make_new(const mp_obj_type_t *type, size_t
85
if (MP_OBJ_IS_TYPE(shape, &vectorio_polygon_type)) {
86
common_hal_vectorio_polygon_set_on_dirty(self->ishape.shape, on_dirty);
87
} else if (MP_OBJ_IS_TYPE(shape, &vectorio_rectangle_type)) {
88
- common_hal_vectorio_circle_set_on_dirty(self->ishape.shape, on_dirty);
89
} else if (MP_OBJ_IS_TYPE(shape, &vectorio_circle_type)) {
+ common_hal_vectorio_circle_set_on_dirty(self->ishape.shape, on_dirty);
90
} else {
91
mp_raise_TypeError_varg(translate("unsupported %q type"), MP_QSTR_shape);
92
}
0 commit comments