Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/turtle_blocks_extras
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/turtle_blocks_extras')
-rw-r--r--plugins/turtle_blocks_extras/turtle_blocks_extras.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
index 1447b11..d2e6cfb 100644
--- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py
+++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
@@ -1480,6 +1480,8 @@ bullets'))
def _prim_hideblocks(self):
""" hide blocks and show showblocks button """
self.tw.hideblocks()
+ self.tw.lc.trace = 0
+ self.tw.step_time = 0
if self.tw.running_sugar:
self.tw.activity.stop_turtle_button.set_icon("hideshowoff")
self.tw.activity.stop_turtle_button.set_tooltip(_('Show blocks'))
@@ -1487,6 +1489,8 @@ bullets'))
def _prim_showblocks(self):
""" show blocks and show stop turtle button """
self.tw.showblocks()
+ self.tw.lc.trace = 1
+ self.tw.step_time = 3
if self.tw.running_sugar:
self.tw.activity.stop_turtle_button.set_icon("stopiton")
self.tw.activity.stop_turtle_button.set_tooltip(_('Stop turtle'))