diff --git a/core/workspace_svg.js b/core/workspace_svg.js index 34dfb2750..dad558f93 100644 --- a/core/workspace_svg.js +++ b/core/workspace_svg.js @@ -360,7 +360,7 @@ Blockly.WorkspaceSvg.prototype.addFlyout_ = function() { disabledPatternId: this.options.disabledPatternId, parentWorkspace: this, RTL: this.RTL, - oneBasedIndex: workspace.options.oneBasedIndex, + oneBasedIndex: this.options.oneBasedIndex, horizontalLayout: this.horizontalLayout, toolboxPosition: this.options.toolboxPosition };