From efbb3d5886183af4b32dedfb6d3c16e21b51e977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20M=C3=B6nig?= Date: Tue, 17 Nov 2015 15:26:22 +0100 Subject: [PATCH] fixed a zebra-coloring glitch for BooleanSlotMorph --- blocks.js | 5 ++++- history.txt | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/blocks.js b/blocks.js index 4d5eef41..9a01b360 100644 --- a/blocks.js +++ b/blocks.js @@ -156,7 +156,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2015-November-16'; +modules.blocks = '2015-November-17'; var SyntaxElementMorph; var BlockMorph; @@ -3153,6 +3153,9 @@ BlockMorph.prototype.fixChildrensBlockColor = function (isForced) { morph.fixBlockColor(null, isForced); } else if (morph instanceof SyntaxElementMorph) { morph.fixBlockColor(myself, isForced); + if (morph instanceof BooleanSlotMorph) { + morph.drawNew(); + } } }); }; diff --git a/history.txt b/history.txt index b28ca0d5..06537dba 100755 --- a/history.txt +++ b/history.txt @@ -2682,4 +2682,6 @@ end - bulk of 151116 * fix for IE backspace and tab errors contributed! * better resource loading mechanism contributed! - +151117 +------ +* Blocks: fixed a zebra-coloring glitch for BooleanSlotMorph