return expression formatting

This commit is contained in:
foamyguy 2022-06-03 17:04:53 -05:00
parent bc0fdaa026
commit 6831dd8aaa
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ bool common_hal_displayio_tilegrid_contains(displayio_tilegrid_t *self, uint16_t
uint16_t right_edge = self->x + (self->width_in_tiles * self->tile_width);
uint16_t bottom_edge = self->y + (self->height_in_tiles * self->tile_height);
return x >= self->x && x <= right_edge &&
y >= self->y && y <= bottom_edge;
y >= self->y && y <= bottom_edge;
}
void common_hal_displayio_tilegrid_set_top_left(displayio_tilegrid_t *self, uint16_t x, uint16_t y) {