kopia lustrzana https://github.com/backface/turtlestitch
Prevent watcher cells from growing wider as their contents becomes taller
rodzic
ec6b46a4c5
commit
b32ed8ef23
|
@ -1937,3 +1937,4 @@ ______
|
||||||
131004
|
131004
|
||||||
------
|
------
|
||||||
* Threads: Type-check the SPLIT block's input before eval'ing it
|
* Threads: Type-check the SPLIT block's input before eval'ing it
|
||||||
|
* Objects: Prevent watcher cells from growing wider as their contents becomes taller
|
||||||
|
|
|
@ -124,7 +124,7 @@ PrototypeHatBlockMorph*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.objects = '2013-October-01';
|
modules.objects = '2013-October-04';
|
||||||
|
|
||||||
var SpriteMorph;
|
var SpriteMorph;
|
||||||
var StageMorph;
|
var StageMorph;
|
||||||
|
@ -5720,7 +5720,8 @@ CellMorph.prototype.drawNew = function () {
|
||||||
this.silentSetWidth(Math.max(
|
this.silentSetWidth(Math.max(
|
||||||
this.contentsMorph.width() + this.edge * 2,
|
this.contentsMorph.width() + this.edge * 2,
|
||||||
(this.contents instanceof Context ||
|
(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
|
// draw my outline
|
||||||
|
|
Ładowanie…
Reference in New Issue