Skip to content

Commit c63e565

Browse files
committed
move 'after' print to cut a duplicate line
1 parent a32a318 commit c63e565

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

shared-module/vectorio/VectorShape.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ static void screen_to_shape_coordinates(vectorio_vector_shape_t *self, uint16_t
142142
*out_shape_x *= -1;
143143
*out_shape_x -= 1;
144144
}
145-
VECTORIO_SHAPE_PIXEL_DEBUG(" b(%3d, %3d)", *out_shape_x, *out_shape_y);
146145
} else {
147146
*out_shape_x = x - self->absolute_transform->x - self->absolute_transform->dx * self->x;
148147
*out_shape_y = y - self->absolute_transform->y - self->absolute_transform->dy * self->y;
@@ -156,8 +155,6 @@ static void screen_to_shape_coordinates(vectorio_vector_shape_t *self, uint16_t
156155
*out_shape_y *= -1;
157156
*out_shape_y -= 1;
158157
}
159-
VECTORIO_SHAPE_PIXEL_DEBUG(" b(%3d, %3d)", *out_shape_x, *out_shape_y);
160-
161158
// It's mirrored via dx. Maybe we need to add support for also separately mirroring?
162159
// if (self->absolute_transform->mirror_x) {
163160
// pixel_to_get_x = (shape_area.x2 - shape_area.x1) - (pixel_to_get_x - shape_area.x1) + shape_area.x1 - 1;
@@ -166,6 +163,7 @@ static void screen_to_shape_coordinates(vectorio_vector_shape_t *self, uint16_t
166163
// pixel_to_get_y = (shape_area.y2 - shape_area.y1) - (pixel_to_get_y - shape_area.y1) + +shape_area.y1 - 1;
167164
// }
168165
}
166+
VECTORIO_SHAPE_PIXEL_DEBUG(" b(%3d, %3d)", *out_shape_x, *out_shape_y);
169167
}
170168

171169
static void check_bounds_and_set_x(vectorio_vector_shape_t *self, mp_int_t x) {

0 commit comments

Comments
 (0)