diff options
| author | jmoenig <jens@moenig.org> | 2013-10-04 10:53:17 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-10-04 10:53:17 +0200 |
| commit | b32ed8ef2392570cbfbf09a474d02c14ee12fd81 (patch) | |
| tree | f69aaa9c4ec6e559477c521bcae6d3a48488e775 /objects.js | |
| parent | ec6b46a4c58f25ab7f8c1e47493f131809b6fd3b (diff) | |
| download | snap-yow-b32ed8ef2392570cbfbf09a474d02c14ee12fd81.tar.gz snap-yow-b32ed8ef2392570cbfbf09a474d02c14ee12fd81.zip | |
Prevent watcher cells from growing wider as their contents becomes taller
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -124,7 +124,7 @@ PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.objects = '2013-October-01'; +modules.objects = '2013-October-04'; var SpriteMorph; var StageMorph; @@ -5720,7 +5720,8 @@ CellMorph.prototype.drawNew = function () { this.silentSetWidth(Math.max( this.contentsMorph.width() + this.edge * 2, (this.contents instanceof Context || - this.contents instanceof List ? 0 : this.height() * 2) + this.contents instanceof List ? 0 : + SyntaxElementMorph.prototype.fontSize * 3.5) )); // draw my outline |
