From cb4e9cd737248aa53a8a3c7791287159cda7f7e9 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 13 May 2016 15:06:06 -0700 Subject: [PATCH] Fix mutator workspace in ltr --- core/mutator.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/mutator.js b/core/mutator.js index a53babfd9..358b90f36 100644 --- a/core/mutator.js +++ b/core/mutator.js @@ -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 };