diff options
| author | jmoenig <jens@moenig.org> | 2013-06-20 13:24:15 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-06-20 13:24:15 +0200 |
| commit | 7af5ab575deb0e2c97651aa3dc2181d487f69dc1 (patch) | |
| tree | acc63687b9c2fd28a86e2aea141d0c4903b2a4af /byob.js | |
| parent | fe8cbd5b705a940c13f7caa2c0d5554341869012 (diff) | |
| download | snap-byow-7af5ab575deb0e2c97651aa3dc2181d487f69dc1.tar.gz snap-byow-7af5ab575deb0e2c97651aa3dc2181d487f69dc1.zip | |
"flat" design enhancements for blocks and watchers
Diffstat (limited to 'byob.js')
| -rw-r--r-- | byob.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |
