Skip to content

Commit

Permalink
Picker: Fix collision
Browse files Browse the repository at this point in the history
  • Loading branch information
AstraLuma committed Jul 10, 2019
1 parent b6c85ac commit f2c10b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppb_mutant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def _check_collision(self, sprite, point):
return (
sprite.left <= point.x <= sprite.right
and
sprite.bottom >= point.y >= sprite.top
sprite.bottom <= point.y <= sprite.top
)

def on_button_pressed(self, mouse, signal):
Expand Down

0 comments on commit f2c10b0

Please sign in to comment.