summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-10-04 13:37:29 +0200
committerGubolin <gubolin@fantasymail.de>2014-10-04 13:37:29 +0200
commitfa4b069c1fa23699df146b0ac7a40538f68cf937 (patch)
tree2fe2fa80bfe1f640674d593aecdae8589f219980
parent45e1f3193b6a0593f084df28ee3d8f194bcea448 (diff)
downloadsnap-fa4b069c1fa23699df146b0ac7a40538f68cf937.tar.gz
snap-fa4b069c1fa23699df146b0ac7a40538f68cf937.zip
leave a mark on pen down (fix #209)
-rw-r--r--morphic.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/morphic.js b/morphic.js
index 4e18482..b8b176c 100644
--- a/morphic.js
+++ b/morphic.js
@@ -4097,6 +4097,7 @@ PenMorph.prototype.forward = function (steps) {
PenMorph.prototype.down = function () {
this.isDown = true;
+ this.drawLine(this.center(), this.center());
};
PenMorph.prototype.up = function () {