mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Fix null pointer bug from commit 7928fac3ce. In this context the options object is in "this", not workspace. (#692)
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user