kopia lustrzana https://github.com/backface/turtlestitch
fixed programmatically setting the rotation style
rodzic
16779097d8
commit
df7e694e2d
|
@ -4605,11 +4605,10 @@ Process.prototype.doSet = function (attribute, value) {
|
||||||
if (!contains([0, 1, 2], +value)) {
|
if (!contains([0, 1, 2], +value)) {
|
||||||
return; // maybe throw an error msg
|
return; // maybe throw an error msg
|
||||||
}
|
}
|
||||||
|
rcvr.changed();
|
||||||
rcvr.rotationStyle = +value;
|
rcvr.rotationStyle = +value;
|
||||||
// redraw sprite:
|
rcvr.fixLayout();
|
||||||
rcvr.changed();
|
rcvr.rerender();
|
||||||
rcvr.drawNew();
|
|
||||||
rcvr.changed();
|
|
||||||
// update padlock symbol in the IDE:
|
// update padlock symbol in the IDE:
|
||||||
ide = rcvr.parentThatIsA(IDE_Morph);
|
ide = rcvr.parentThatIsA(IDE_Morph);
|
||||||
if (ide) {
|
if (ide) {
|
||||||
|
|
Ładowanie…
Reference in New Issue