summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js24
1 files changed, 4 insertions, 20 deletions
diff --git a/blocks.js b/blocks.js
index 1d46b6f..b2b38c4 100644
--- a/blocks.js
+++ b/blocks.js
@@ -1603,38 +1603,22 @@ SyntaxElementMorph.prototype.showBubble = function (value) {
txt = value.length > 500 ? value.slice(0, 500) + '...' : value;
morphToShow = new TextMorph(
txt,
- this.fontSize,
- null,
- false,
- false,
- 'center'
+ this.fontSize
);
} else if (value === null) {
morphToShow = new TextMorph(
'',
- this.fontSize,
- null,
- false,
- false,
- 'center'
+ this.fontSize
);
} else if (value === 0) {
morphToShow = new TextMorph(
'0',
- this.fontSize,
- null,
- false,
- false,
- 'center'
+ this.fontSize
);
} else if (value.toString) {
morphToShow = new TextMorph(
value.toString(),
- this.fontSize,
- null,
- false,
- false,
- 'center'
+ this.fontSize
);
}
bubble = new SpeechBubbleMorph(