From 2443eb0143310599669d3de61e9826e819137fb1 Mon Sep 17 00:00:00 2001 From: Code WvS Date: Sun, 22 Mar 2015 11:34:27 +0100 Subject: move the decision whether to draw a line or a shape to pen up --- blocks.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'blocks.js') diff --git a/blocks.js b/blocks.js index dd67695..0437ff2 100644 --- a/blocks.js +++ b/blocks.js @@ -1270,12 +1270,12 @@ SyntaxElementMorph.prototype.labelPart = function (spec) { null, // text false, // numeric? { - 'line' : ['line'], - 'shape': ['shape'] + 'a line' : ['a line'], + 'a shape': ['a shape'] }, true // read-only ); - part.setContents(['line']); + part.setContents(['a line']); break; // symbols: -- cgit v1.3.1