fixed programmatically setting the rotation style

pull/95/head
jmoenig 2020-04-17 15:42:43 +02:00
rodzic 16779097d8
commit df7e694e2d
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -4605,11 +4605,10 @@ Process.prototype.doSet = function (attribute, value) {
if (!contains([0, 1, 2], +value)) {
return; // maybe throw an error msg
}
rcvr.changed();
rcvr.rotationStyle = +value;
// redraw sprite:
rcvr.changed();
rcvr.drawNew();
rcvr.changed();
rcvr.fixLayout();
rcvr.rerender();
// update padlock symbol in the IDE:
ide = rcvr.parentThatIsA(IDE_Morph);
if (ide) {