mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-12 05:59:06 -04:00
First pass at svg button in flyout
This commit is contained in:
parent
603477d188
commit
e371da3031
13 changed files with 1833 additions and 1729 deletions
core
|
@ -103,6 +103,9 @@ Blockly.Variables.flyoutCategory = function(workspace) {
|
|||
variableList.unshift(Blockly.Msg.VARIABLES_DEFAULT_NAME);
|
||||
|
||||
var xmlList = [];
|
||||
var button = goog.dom.createDom('button');
|
||||
button.setAttribute('text', 'Create variable');
|
||||
xmlList.push(button);
|
||||
for (var i = 0; i < variableList.length; i++) {
|
||||
if (Blockly.Blocks['variables_set']) {
|
||||
// <block type="variables_set" gap="8">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue