From e815f27376f2798bdb75850c5bc5bd88dec2cdcc Mon Sep 17 00:00:00 2001 From: Gubolin Date: Sat, 4 Oct 2014 19:29:38 +0200 Subject: don't leave a mark on pen down but on MOVE 0 --- morphic.js | 1 - objects.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/morphic.js b/morphic.js index b8b176c..4e18482 100644 --- a/morphic.js +++ b/morphic.js @@ -4097,7 +4097,6 @@ PenMorph.prototype.forward = function (steps) { PenMorph.prototype.down = function () { this.isDown = true; - this.drawLine(this.center(), this.center()); }; PenMorph.prototype.up = function () { diff --git a/objects.js b/objects.js index 905b3d1..150e601 100644 --- a/objects.js +++ b/objects.js @@ -3248,9 +3248,7 @@ Morph.prototype.setPosition = function (aPoint, justMe) { // override the inherited default to make sure my parts follow // unless it's justMe var delta = aPoint.subtract(this.topLeft()); - if ((delta.x !== 0) || (delta.y !== 0)) { - this.moveBy(delta, justMe); - } + this.moveBy(delta, justMe); }; SpriteMorph.prototype.forward = function (steps) { -- cgit v1.3.1