mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
fix: blocks dragged from RTL flyout being incorrectly positioned
This commit is contained in:
@@ -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));
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user