Skip to content

Commit

Permalink
Update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
anxuae committed Apr 24, 2021
1 parent 350f176 commit 31cf778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pygame_vkeyboard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .vkeyboard import VKeyboardLayout, VKeyboard
from .vrenderers import VKeyboardRenderer

__version__ = '2.0.7'
__version__ = '2.0.8'
2 changes: 1 addition & 1 deletion pygame_vkeyboard/vkeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def update(self, events):
and event.button in (1, 2, 3):
# Don't consider the mouse wheel (button 4 & 5):
self.set_pressed(0)
if event.type == pygame.FINGERDOWN:
elif event.type == pygame.FINGERDOWN:
display_size = pygame.display.get_surface().get_size()
finger_pos = (event.x * display_size[0], event.y * display_size[1])
if self.rect.collidepoint(finger_pos):
Expand Down

0 comments on commit 31cf778

Please sign in to comment.