Fixed RTL mistake.

This commit is contained in:
Beka Westberg
2018-12-29 13:29:14 -08:00
parent fdeb6bb778
commit 05fb75dc3e

View File

@@ -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.