Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/tawindow.py b/tawindow.py
index 9530692..aa40807 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -1663,14 +1663,18 @@ class TurtleArtWindow():
bot = self._find_sandwich_bottom(top)
if bot is None:
return
+ """
if top.ey > 0:
+ print "reseting arm"
top.reset_y()
- (tx, ty) = top.spr.get_xy()
- (tw, th) = top.spr.get_dimensions()
- (bx, by) = bot.spr.get_xy()
+ """
+ tx, ty = top.spr.get_xy()
+ tw, th = top.spr.get_dimensions()
+ bx, by = bot.spr.get_xy()
dy = by-(ty+th)
if dy > 0:
top.expand_in_y(dy/top.scale)
+ top.refresh()
"""
Check the state of collapsible blocks upon change in dock state.