summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/blocks.js b/blocks.js
index 5cdcc1c..2e686cd 100644
--- a/blocks.js
+++ b/blocks.js
@@ -1264,6 +1264,20 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
);
break;
+ // Snap! YOW
+ case '%drawmode':
+ part = new InputSlotMorph(
+ null, // text
+ false, // numeric?
+ {
+ 'line' : ['line'],
+ 'shape': ['shape']
+ },
+ true // read-only
+ );
+ part.setContents(['line']);
+ break;
+
// symbols:
case '%turtle':