fixed a zebra coloring glitch in the block editor

dev
Jens Mönig 2016-01-18 17:39:44 +01:00
rodzic 91095af36f
commit 291555d9e1
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -108,7 +108,7 @@ WatcherMorph, Variable*/
// Global stuff ////////////////////////////////////////////////////////
modules.byob = '2016-January-17';
modules.byob = '2016-January-18';
// Declarations
@ -1829,6 +1829,10 @@ BlockEditorMorph.prototype.init = function (definition, target) {
this.setExtent(new Point(375, 300)); // normal initial extent
this.fixLayout();
scripts.fixMultiArgs();
block = proto.parts()[0];
block.forceNormalColoring();
block.fixBlockColor(proto, true);
};
BlockEditorMorph.prototype.popUp = function () {

Wyświetl plik

@ -2857,3 +2857,4 @@ end - bulk of 151215
160118
------
* Paint: avoid pixel collision detection in PaintCanvas (optimization)
* BYOB: fixed a zebra coloring glitch in the block editor