From 744b9c1e8fe3db7c0a2913e6012c204de6b4836c Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 04 Oct 2011 02:59:19 +0000 Subject: add trash to floating palette --- (limited to 'TurtleArt/tawindow.py') 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 """ -- cgit v0.9.1