Fix flyouts (#3645)

* Set toolboxPosition after options have been parsed

* Final toolbox position update
This commit is contained in:
alschmiedt
2020-01-23 14:23:25 -08:00
committed by GitHub
parent 46df648200
commit ee9a55ec79
3 changed files with 4 additions and 4 deletions

View File

@@ -186,9 +186,9 @@ Blockly.Toolbox.prototype.init = function() {
'rtl': workspace.RTL,
'oneBasedIndex': workspace.options.oneBasedIndex,
'horizontalLayout': workspace.horizontalLayout,
'toolboxPosition': workspace.options.toolboxPosition,
'renderer': workspace.options.renderer
}));
workspaceOptions.toolboxPosition = workspace.options.toolboxPosition;
if (workspace.horizontalLayout) {
if (!Blockly.HorizontalFlyout) {