Skip to content

Commit

Permalink
pass an empty list for "buttons" param to create_touch
Browse files Browse the repository at this point in the history
fixes #4214
  • Loading branch information
tshirtman committed May 1, 2018
1 parent 4d9f19d commit 37ccbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kivy/input/providers/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def on_mouse_motion(self, win, x, y, modifiers):
elif self.alt_touch is not None and 'alt' not in modifiers:
# alt just released ?
is_double_tap = 'shift' in modifiers
cur = self.create_touch(rx, ry, is_double_tap, True)
cur = self.create_touch(rx, ry, is_double_tap, True, [])
return True

def on_mouse_press(self, win, x, y, button, modifiers):
Expand Down

0 comments on commit 37ccbfa

Please sign in to comment.