kopia lustrzana https://github.com/backface/turtlestitch
fix dont' draw issue with "set x", "set y", "change x by", "change y by" (issue #39)
rodzic
26a8aa9cf6
commit
0b564000b9
|
@ -3,9 +3,11 @@ Turtlestitch history
|
||||||
|
|
||||||
180902
|
180902
|
||||||
------
|
------
|
||||||
* fix translation error when loading project: add (empty) translations files to stitchcode
|
* fix translation error when loading project: add (empty) translations files to stitchcode (issued #35)
|
||||||
* fix chinese translation file (from snap)
|
* fix chinese translation file (from snap!), wrong character
|
||||||
|
* make stage handle more visible (issue #34)
|
||||||
|
* write/read creator, originCreator, originName and remixhistory into projects (issue
|
||||||
|
* fix dont' draw issue with "set x", "set y", "change x by", "change y by" (issue #39)
|
||||||
|
|
||||||
180917
|
180917
|
||||||
------
|
------
|
||||||
|
|
|
@ -206,7 +206,7 @@ SpriteMorph.prototype.gotoXY = function (x, y, justMe, noShadow) {
|
||||||
oldx = this.xPosition();
|
oldx = this.xPosition();
|
||||||
oldy = this.yPosition();
|
oldy = this.yPosition();
|
||||||
this.origGotoXY(x, y, justMe);
|
this.origGotoXY(x, y, justMe);
|
||||||
if ( (Math.abs(this.xPosition()-oldx)<=0.01 && Math.abs(this.yPosition()-oldy)<=0.01) || noShadow ) {
|
if ( (Math.abs(this.xPosition()-oldx)<=0.01 && Math.abs(this.yPosition()-oldy)<=0.01) ) {
|
||||||
// jump in place - don't add / ignore
|
// jump in place - don't add / ignore
|
||||||
console.log("jump in place - don't add / ignore");
|
console.log("jump in place - don't add / ignore");
|
||||||
} else {
|
} else {
|
||||||
|
|
Ładowanie…
Reference in New Issue