Toolbox definition (#3891)

* Add support for creating a toolbox with JSON
This commit is contained in:
alschmiedt
2020-05-13 08:16:53 -07:00
committed by GitHub
parent 6732d69067
commit d0e91a15a2
16 changed files with 1059 additions and 364 deletions

View File

@@ -364,7 +364,7 @@ Blockly.init_ = function(mainWorkspace) {
} else if (flyout) {
// Build a fixed flyout with the root blocks.
flyout.init(mainWorkspace);
flyout.show(options.languageTree.childNodes);
flyout.show(options.languageTree);
flyout.scrollToStart();
}
}