Disable add list button

This commit is contained in:
Paul Kaplan 2017-08-11 08:56:31 -04:00
parent 78a842fea4
commit af751149f7

View file

@ -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++) {