mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Fixed RTL mistake.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user