diff options
| author | jmoenig <jens@moenig.org> | 2014-04-30 14:41:51 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-04-30 14:41:51 +0200 |
| commit | a469f44afcf2c9b30c93f96d197f8e9862829933 (patch) | |
| tree | d858bb87fc11319b104061cfb90787fbb2ff2595 /byob.js | |
| parent | 5ab8b7e56357fd38fbc9d43a03033cb569de4a1c (diff) | |
| download | snap-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.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |
