Skip to content

Commit 6831dd8

Browse files
committed
return expression formatting
1 parent bc0fdaa commit 6831dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/displayio/TileGrid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ bool common_hal_displayio_tilegrid_contains(displayio_tilegrid_t *self, uint16_t
346346
uint16_t right_edge = self->x + (self->width_in_tiles * self->tile_width);
347347
uint16_t bottom_edge = self->y + (self->height_in_tiles * self->tile_height);
348348
return x >= self->x && x <= right_edge &&
349-
y >= self->y && y <= bottom_edge;
349+
y >= self->y && y <= bottom_edge;
350350
}
351351

352352
void common_hal_displayio_tilegrid_set_top_left(displayio_tilegrid_t *self, uint16_t x, uint16_t y) {

0 commit comments

Comments
 (0)