mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Disable add list button
This commit is contained in:
parent
78a842fea4
commit
af751149f7
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ Blockly.DataCategory = function(workspace) {
|
|||
}
|
||||
|
||||
// Now add list variables to the flyout
|
||||
Blockly.DataCategory.addCreateButton(xmlList, workspace, 'LIST');
|
||||
// Disable new list button until it is supported in scratch-vm
|
||||
// Blockly.DataCategory.addCreateButton(xmlList, workspace, 'LIST');
|
||||
variableModelList = workspace.getVariablesOfType('list');
|
||||
variableModelList.sort(Blockly.VariableModel.compareByName);
|
||||
for (var i = 0; i < variableModelList.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue