Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TurtleArt/tawindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 7e58de4..fc40478 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -1302,7 +1302,7 @@ class TurtleArtWindow():
if b.type != 'trash':
self._put_in_trash(find_top_block(b))
elif blk.name in MACROS:
- self._new_macro(blk.name, x + 20, y + 20)
+ self.new_macro(blk.name, x + 20, y + 20)
else:
defaults = None
name = blk.name
@@ -1798,7 +1798,7 @@ class TurtleArtWindow():
elif newblk.spr.labels[0] not in self.used_block_list:
self.used_block_list.append(newblk.spr.labels[0])
- def _new_macro(self, name, x, y):
+ def new_macro(self, name, x, y):
''' Create a "macro" (predefined stack of blocks). '''
macro = MACROS[name]
macro[0][2] = x