Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tawindow.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tawindow.py b/tawindow.py
index 9dc0d55..23a01c1 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -439,7 +439,8 @@ class TurtleArtWindow():
blk.spr.set_layer(TAB_LAYER)
if n == PALETTE_NAMES.index('trash'):
for blk in self.trash_stack:
- blk.spr.set_layer(TAB_LAYER)
+ for b in self._find_group(blk):
+ b.spr.set_layer(TAB_LAYER)
"""
Hide the toolbar palettes
@@ -466,7 +467,8 @@ class TurtleArtWindow():
self.selector_shapes[self.previous_palette][0])
if self.previous_palette == PALETTE_NAMES.index('trash'):
for b in self.trash_stack:
- b.spr.hide()
+ for bb in self._find_group(b):
+ bb.spr.hide()
def _horizontal_layout(self, x, y, max, blocks):
for b in blocks: