summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-04-30 14:41:51 +0200
committerjmoenig <jens@moenig.org>2014-04-30 14:41:51 +0200
commita469f44afcf2c9b30c93f96d197f8e9862829933 (patch)
treed858bb87fc11319b104061cfb90787fbb2ff2595 /byob.js
parent5ab8b7e56357fd38fbc9d43a03033cb569de4a1c (diff)
downloadsnap-byow-a469f44afcf2c9b30c93f96d197f8e9862829933.tar.gz
snap-byow-a469f44afcf2c9b30c93f96d197f8e9862829933.zip
partial fix for #407
the label still is wrong
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/byob.js b/byob.js
index 9e0c067..e47f7c5 100644
--- a/byob.js
+++ b/byob.js
@@ -167,6 +167,9 @@ CustomBlockDefinition.prototype.templateInstance = function () {
var block;
block = this.blockInstance();
block.refreshDefaults();
+ if (!block.zebraContrast) {
+ block.forceNormalColoring(); // label still is wrong
+ }
block.isDraggable = false;
block.isTemplate = true;
return block;