From ba5766c83553f5c28dff119c541ac1d400985fe5 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Mon, 27 Sep 2021 14:15:57 -0400 Subject: [PATCH] fix: blocks dragged from RTL flyout being incorrectly positioned --- core/flyout_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/flyout_base.js b/core/flyout_base.js index 7793a2813..f16e2877a 100644 --- a/core/flyout_base.js +++ b/core/flyout_base.js @@ -1117,7 +1117,7 @@ Flyout.prototype.positionNewBlock_ = function(oldBlock, block) { // The position of the old block in main workspace coordinates. finalOffset.scale(1 / targetWorkspace.scale); - block.moveBy(finalOffset.x, finalOffset.y); + block.moveTo(new Coordinate(finalOffset.x, finalOffset.y)); }; /**