return expression formatting
This commit is contained in:
parent
bc0fdaa026
commit
6831dd8aaa
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue