Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tawindow.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index f2c3c73..901c594 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -599,6 +599,11 @@ class TurtleArtWindow():
p[0].move((x + p[0].save_xy[0], y + p[0].save_xy[1]))
if p[1] is not None:
p[1].move((x + p[1].save_xy[0], y + p[1].save_xy[1]))
+ # To do: set save_xy for blocks in Trash
+ for blk in self.trash_stack:
+ for gblk in find_group(blk):
+ gblk.spr.move((x + gblk.spr.save_xy[0],
+ y + gblk.spr.save_xy[1]))
def hideblocks(self):
""" Callback from 'hide blocks' block """