fixed "left/right" only rotation style for costume-less sprites

pull/95/head
jmoenig 2020-04-29 18:08:05 +02:00
rodzic 0645d87fdd
commit 9a3e45472e
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -84,7 +84,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, BooleanSlotMorph,
localize, TableMorph, TableFrameMorph, normalizeCanvas, VectorPaintEditorMorph,
HandleMorph, AlignmentMorph, Process, XML_Element, WorldMap, copyCanvas*/
modules.objects = '2020-April-28';
modules.objects = '2020-April-29';
var SpriteMorph;
var StageMorph;
@ -1967,7 +1967,8 @@ SpriteMorph.prototype.render = function (ctx) {
ctx.restore();
} else {
SpriteMorph.uber.render.call(this, ctx);
facing = isFlipped ? -90 : facing;
SpriteMorph.uber.render.call(this, ctx, facing);
if (isLoadingCostume) { // retry until costume is done loading
cst = this.costume;