diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-09-22 10:48:23 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-09-22 10:48:23 (GMT) |
commit | 0a0583a17b826ce376ca35e16d4db568c81c739e (patch) | |
tree | 98fd0a3f8346fa62039a84b032fef2c2df5c8036 /TurtleArt | |
parent | 02ff768760dc5b487854d460bd101fb2d014aec4 (diff) |
fixed problem with expanding boolean (#2330)
Diffstat (limited to 'TurtleArt')
-rw-r--r-- | TurtleArt/tawindow.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index a7851f3..c672412 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1431,7 +1431,10 @@ class TurtleArtWindow(): self._run_stack(blk) return - self._expand_expandable(blk, blk.connections[1], dy) + if blk.name in BOOLEAN_STYLE: + self._expand_boolean(blk, blk.connections[1], dy) + else: + self._expand_expandable(blk, blk.connections[1], dy) # and restore it... if blk0 is not None: blk.connections[0] = blk0 |