diff options
author | Walter Bender <walter@sugarlabs.org> | 2014-03-15 12:59:28 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2014-03-15 12:59:28 (GMT) |
commit | 2065e306ef9bd9597a633f9924b5d0d5997db147 (patch) | |
tree | 522fdd3a8056b7711bafa375afb66f111e94d6eb /TurtleArt/tablock.py | |
parent | a1bf692338309c4b03068c99e0a68ac19abd6115 (diff) |
resync to v200
Diffstat (limited to 'TurtleArt/tablock.py')
-rw-r--r-- | TurtleArt/tablock.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tablock.py b/TurtleArt/tablock.py index ad17ca8..6617ba1 100644 --- a/TurtleArt/tablock.py +++ b/TurtleArt/tablock.py @@ -185,7 +185,7 @@ class Block: trash -- block in the trash """ def __init__(self, block_list, sprite_list, name, x, y, type='block', - values=None, scale=BLOCK_SCALE[0], + values=None, scale=BLOCK_SCALE[3], colors=['#A0A0A0', '#808080']): self.block_list = block_list @@ -372,7 +372,7 @@ class Block: if self.spr is None: return dx = (self.spr.label_width() - self.spr.label_safe_width()) / \ - self.scale + self.scale if self.dx + dx >= self.block_list.max_width and self.name == 'string': self.dx = self.block_list.max_width self.refresh() |