mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-01 16:51:10 -04:00
Manual commit
This commit is contained in:
parent
7e1b5612ae
commit
ea211c5080
466 changed files with 6463 additions and 3458 deletions
core
|
@ -117,8 +117,8 @@ Blockly.Variables.flyoutCategory = function(blocks, gaps, margin, workspace) {
|
|||
if (variableList[i] === null) {
|
||||
defaultVariable = (getBlock || setBlock).getVars()[0];
|
||||
} else {
|
||||
getBlock && getBlock.setTitleValue(variableList[i], 'VAR');
|
||||
setBlock && setBlock.setTitleValue(variableList[i], 'VAR');
|
||||
getBlock && getBlock.setFieldValue(variableList[i], 'VAR');
|
||||
setBlock && setBlock.setFieldValue(variableList[i], 'VAR');
|
||||
}
|
||||
setBlock && blocks.push(setBlock);
|
||||
getBlock && blocks.push(getBlock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue