Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2010-09-22 22:46:06 (GMT)
committer Walter Bender <walter@sugarlabs.org>2010-09-22 22:46:06 (GMT)
commit997d7e9c26bf336a19e64b2129f8c2777d2a11b1 (patch)
tree0f061eab370a3081226e7f64e8a6498745066ff8 /TurtleArt/tawindow.py
parentcfc5b9b203ade8cd586e2bff44e050cda5c51d33 (diff)
fixed infinite loop bug reported in #2330
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r--TurtleArt/tawindow.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index eee9a4c..a065105 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -779,6 +779,7 @@ class TurtleArtWindow():
if t is not None:
self.selected_turtle = t
self.canvas.set_turtle(self.turtles.get_turtle_key(t))
+ print "turtle pressed", x, y
self._turtle_pressed(x, y)
return True
@@ -1553,6 +1554,8 @@ class TurtleArtWindow():
if blk.name in COMPARE_STYLE:
for gblk in find_group(blk):
gblk.spr.move_relative((0, -dy * blk.scale))
+ else:
+ break
def _check_collapsibles(self, blk):
""" Check the state of collapsible blocks upon change in dock state. """