summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-06-20 13:24:15 +0200
committerjmoenig <jens@moenig.org>2013-06-20 13:24:15 +0200
commit7af5ab575deb0e2c97651aa3dc2181d487f69dc1 (patch)
treeacc63687b9c2fd28a86e2aea141d0c4903b2a4af /byob.js
parentfe8cbd5b705a940c13f7caa2c0d5554341869012 (diff)
downloadsnap-7af5ab575deb0e2c97651aa3dc2181d487f69dc1.tar.gz
snap-7af5ab575deb0e2c97651aa3dc2181d487f69dc1.zip
"flat" design enhancements for blocks and watchers
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/byob.js b/byob.js
index 72715ad..d8c0813 100644
--- a/byob.js
+++ b/byob.js
@@ -912,7 +912,9 @@ JaggedBlockMorph.prototype.drawNew = function () {
context.fillStyle = this.cachedClr;
this.drawBackground(context);
- this.drawEdges(context);
+ if (!MorphicPreferences.isFlat) {
+ this.drawEdges(context);
+ }
// erase holes
this.eraseHoles(context);