diff options
author | Walter Bender <walter@sugarlabs.org> | 2014-02-10 16:02:36 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2014-02-10 16:02:36 (GMT) |
commit | acc7eef6e5be2bdb1fdd387b06b033bd3b3eb9d1 (patch) | |
tree | 811c6099a1f630bf1025e2595d1ea5c2de3d0f3d | |
parent | 9e1dbd0a5b023135e95036488e31579073c3ef3a (diff) |
fix drag problem with touchv18
-rw-r--r-- | NEWS | 5 | ||||
-rwxr-xr-x | activity/activity.info | 2 | ||||
-rw-r--r-- | tools.py | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +18 + +BUG FIX: +* Fixed problem with using drag with touch. + 17 ENHANCEMENT: diff --git a/activity/activity.info b/activity/activity.info index 724a211..e98613e 100755 --- a/activity/activity.info +++ b/activity/activity.info @@ -4,6 +4,6 @@ summary = Prove Sir Isaac Newton right! Create real life simulations using diffe bundle_id = org.laptop.physics exec = sugar-activity activity.PhysicsActivity icon = activity-physics -activity_version = 17 +activity_version = 18 show_launcher = yes mime_types = application/x-physics-activity; @@ -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 |