summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/blocks.js b/blocks.js
index d2a395a..6c10354 100644
--- a/blocks.js
+++ b/blocks.js
@@ -2062,7 +2062,7 @@ BlockMorph.prototype.setSpec = function (spec) {
}
part = myself.labelPart(word);
myself.add(part);
- if (!(part instanceof CommandSlotMorph)) {
+ if (!(part instanceof CommandSlotMorph || part instanceof StringMorph)) {
part.drawNew();
}
if (part instanceof RingMorph) {