summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-10-04 19:29:38 +0200
committerGubolin <gubolin@fantasymail.de>2014-10-04 19:29:38 +0200
commite815f27376f2798bdb75850c5bc5bd88dec2cdcc (patch)
tree5d32c24ebde0299028045e06c93e9022448642c3 /objects.js
parentfa4b069c1fa23699df146b0ac7a40538f68cf937 (diff)
downloadsnap-e815f27376f2798bdb75850c5bc5bd88dec2cdcc.tar.gz
snap-e815f27376f2798bdb75850c5bc5bd88dec2cdcc.zip
don't leave a mark on pen down but on MOVE 0issue_209
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js4
1 files changed, 1 insertions, 3 deletions
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) {