Fix mutator workspace in ltr

This commit is contained in:
Rachel Fenichel
2016-05-13 15:06:06 -07:00
parent 666536807a
commit cb4e9cd737

View File

@@ -122,6 +122,9 @@ Blockly.Mutator.prototype.createEditor_ = function() {
parentWorkspace: this.block_.workspace,
pathToMedia: this.block_.workspace.options.pathToMedia,
RTL: this.block_.RTL,
toolboxPosition: this.block_.RTL ? Blockly.TOOLBOX_AT_RIGHT :
Blockly.TOOLBOX_AT_LEFT,
horizontalLayout: false,
getMetrics: this.getFlyoutMetrics_.bind(this),
setMetrics: null
};