From acc7eef6e5be2bdb1fdd387b06b033bd3b3eb9d1 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 10 Feb 2014 16:02:36 +0000 Subject: fix drag problem with touch --- (limited to 'tools.py') diff --git a/tools.py b/tools.py index 78737f4..cda745b 100644 --- a/tools.py +++ b/tools.py @@ -574,7 +574,7 @@ class GrabTool(Tool): self.game.world.add.remove_mouseJoint() else: self._current_body = None - elif event.type == MOUSEMOTION and event.buttons[0]: + elif event.type == MOUSEMOTION: # and event.buttons[0]: # Move it around if self.game.world.run_physics: # Use box2D mouse motion -- cgit v0.9.1