kopia lustrzana https://github.com/backface/turtlestitch
rodzic
e88ea49374
commit
71c9103503
|
@ -2288,4 +2288,5 @@ ______
|
|||
* Objects: fixed #593 match broadcast numbers with event hat blocks containing strings that can be parsed as numbers
|
||||
* BYOB: allow percent symbols in custom block texts (fix #361), thanks, @Gubolin!!
|
||||
* Morphic: allow negative min/max values for sliders (fix #285), thanks, @Gubolin!!
|
||||
* Objects: fixed #378 (disable context menus for boolean representations)
|
||||
|
||||
|
|
|
@ -6408,10 +6408,14 @@ CellMorph.prototype.drawNew = function () {
|
|||
}
|
||||
this.contentsMorph.setColor(new Color(255, 255, 255));
|
||||
} else if (typeof this.contents === 'boolean') {
|
||||
this.contentsMorph = SpriteMorph.prototype.booleanMorph.call(
|
||||
img = SpriteMorph.prototype.booleanMorph.call(
|
||||
null,
|
||||
this.contents
|
||||
);
|
||||
).fullImage();
|
||||
this.contentsMorph = new Morph();
|
||||
this.contentsMorph.silentSetWidth(img.width);
|
||||
this.contentsMorph.silentSetHeight(img.height);
|
||||
this.contentsMorph.image = img;
|
||||
} else if (this.contents instanceof HTMLCanvasElement) {
|
||||
this.contentsMorph = new Morph();
|
||||
this.contentsMorph.silentSetWidth(this.contents.width);
|
||||
|
|
Ładowanie…
Reference in New Issue