From 7066607c3be33d0a7042b61b2f9afe961f19dc65 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 07 Jul 2012 16:15:22 +0000 Subject: dynamically define EXPANDABLE_FLOW blocks in add_block --- (limited to 'TurtleArt/taconstants.py') diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py index f5af623..8cba7c2 100644 --- a/TurtleArt/taconstants.py +++ b/TurtleArt/taconstants.py @@ -90,9 +90,8 @@ EXPANDABLE_STYLE = ['boolean-style', 'compare-porch-style', 'compare-style', 'number-style-porch', 'number-style', 'basic-style-2arg', 'number-style-block', 'box-style-media'] -# Fixme: this should be based on styles -EXPANDABLE_FLOW = ['repeat', 'until', 'while', 'if', 'forever', 'ifelse', - 'sandwichclamp'] +# These are defined in add_block based on block style +EXPANDABLE_FLOW = [] EXPANDABLE = ['vspace', 'hspace', 'identity2'] -- cgit v0.9.1