diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-09-23 19:54:26 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-09-23 19:54:26 (GMT) |
commit | 7b4847ca88d4be77938e090abac11ecdb31b19a8 (patch) | |
tree | 026cce20a11cbca40727c689f52ea04dbec2540f /TurtleArt/tawindow.py | |
parent | b1a9941704e2a8099c102cca9ed2462fd5641c4d (diff) |
fixed problem with loading old-style sandwichtop_no_arm blocks
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r-- | TurtleArt/tawindow.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 4c9c1cd..2d929fe 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1400,7 +1400,7 @@ class TurtleArtWindow(): if hide_button_hit(blk.spr, x, y): dx = blk.reset_x() elif show_button_hit(blk.spr, x, y): - dx = 24 + dx = 20 blk.expand_in_x(dx) else: dx = 0 @@ -2137,6 +2137,7 @@ class TurtleArtWindow(): check_dock = False if btype in OLD_NAMES: btype = OLD_NAMES[btype] + blk = Block(self.block_list, self.sprite_list, btype, b[2] + self.canvas.cx + offset, b[3] + self.canvas.cy + offset, |