diff options
author | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-03-23 04:31:15 (GMT) |
---|---|---|
committer | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-03-23 04:31:15 (GMT) |
commit | 0502cab7f37c9a987cb19ab89365fc68b48e5f3c (patch) | |
tree | b48c531eb6cffb2ddc0965dcba17226bb1d5190c /TurtleArt/tabasics.py | |
parent | 815b1b178d11bcee99918f63227392434984debe (diff) | |
parent | 1670f1ba9fb4a5a08870ffbabe04f4754cfa8c2f (diff) |
Merge branch 'master' of git.sugarlabs.org:turtleart/mainline
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r-- | TurtleArt/tabasics.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py index 1416a61..12635ab 100644 --- a/TurtleArt/tabasics.py +++ b/TurtleArt/tabasics.py @@ -58,7 +58,7 @@ that the icons should be the same size (55x55) as the others. (This is the default icon size for Sugar toolbars.) """ -from time import time +from time import time, sleep from math import sqrt from random import uniform @@ -1180,6 +1180,7 @@ variable')) self.tw.active_turtle.show() endtime = _millisecond() + wait_time * 1000. while _millisecond() < endtime: + sleep(wait_time / 10.) yield True self.tw.active_turtle.hide() self.tw.lc.ireturn() |