From 05fb75dc3e2a50fe9575fc75ee47fd46e7ba8b62 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Sat, 29 Dec 2018 13:29:14 -0800 Subject: [PATCH] Fixed RTL mistake. --- core/bubble.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bubble.js b/core/bubble.js index b0150e3d5..2605cbae5 100644 --- a/core/bubble.js +++ b/core/bubble.js @@ -472,7 +472,7 @@ Blockly.Bubble.prototype.getOverlap_ = function(relativeMin, metrics) { }; // The position of the top-start corner of the workspace. var workspaceMin = { - x: metrics.viewLeft, + x: this.workspace_.RTL ? -metrics.viewLeft : metrics.viewLeft, y: metrics.viewTop }; // The position of the bottom-end corner of the workspace.