kopia lustrzana https://github.com/backface/turtlestitch
rodzic
5ab8b7e563
commit
a469f44afc
3
byob.js
3
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;
|
||||
|
|
Ładowanie…
Reference in New Issue