mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Fix flyouts (#3645)
* Set toolboxPosition after options have been parsed * Final toolbox position update
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user