mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
Add colour block to the block factory base block initial state
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user