Add colour block to the block factory base block initial state

This commit is contained in:
Rachel Fenichel
2016-11-10 15:11:44 -08:00
parent 25ca1bccff
commit 1d55e28610

View File

@@ -65,7 +65,12 @@ BlockFactory.oldDir = null;
* unmovable, undeletable factory_base block.
*/
BlockFactory.STARTER_BLOCK_XML_TEXT = '<xml><block type="factory_base" ' +
'deletable="false" movable="false"></block></xml>';
'deletable="false" movable="false">' +
'<value name="COLOUR">' +
'<block type="colour_hue">' +
'<mutation colour="#5b67a5"></mutation>' +
'<field name="HUE">230</field>' +
'</block></value></block></xml>';
/**
* Change the language code format.