summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-22 11:34:27 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-22 11:34:27 +0100
commit2443eb0143310599669d3de61e9826e819137fb1 (patch)
tree2b0b54cf4a101466b4205f49a28a15b75fd6a5c9 /blocks.js
parente5fba1af530c86c0be3ffe265b35e6a60251b10f (diff)
downloadsnap-yow-2443eb0143310599669d3de61e9826e819137fb1.tar.gz
snap-yow-2443eb0143310599669d3de61e9826e819137fb1.zip
move the decision whether to draw a line or a shape to pen up
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js6
1 files changed, 3 insertions, 3 deletions
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: