diff options
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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': |
