diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-09-22 22:04:52 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-09-22 22:04:52 (GMT) |
commit | cfc5b9b203ade8cd586e2bff44e050cda5c51d33 (patch) | |
tree | bb5b4285d91c1d391d886b8bf7aca2b27cc99354 | |
parent | f3cb44b7cffc10adc07d56e05cffb2536802f137 (diff) |
fixed positioning problem when reskinning/rescaling turtle
-rw-r--r-- | TurtleArt/talogo.py | 1 | ||||
-rw-r--r-- | TurtleArt/taturtle.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py index 0e23429..97c3325 100644 --- a/TurtleArt/talogo.py +++ b/TurtleArt/talogo.py @@ -1077,6 +1077,7 @@ class LogoCode: pixbuf = self.show_picture(media, 0, 0, scale, scale, False) if pixbuf is not None: self.tw.active_turtle.set_shapes([pixbuf]) + self.tw.canvas.forward(0) def show(self, string, center=False): """ Show is the general-purpose media-rendering block. """ diff --git a/TurtleArt/taturtle.py b/TurtleArt/taturtle.py index 570a728..eade8a3 100644 --- a/TurtleArt/taturtle.py +++ b/TurtleArt/taturtle.py @@ -170,6 +170,7 @@ class Turtle: j = int(self.heading + 5) % 360 / (360 / SHAPES) self.shapes[j] = images[0] self.custom_shapes = True + self.show() def reset_shapes(self): """ Reset the shapes to the standard turtle """ |