Fixed: Remove duplicate line

This commit is contained in:
Richard Benjamin Allen 2024-06-18 11:10:11 +01:00
parent 44347fb2d0
commit 79eecdcc76

View File

@ -320,8 +320,7 @@
var rect = new $.Rect(position.x, position.y, size.x, size.y);
var boundingBox = this._getBoundingBox(rect, viewport.getRotation(true));
position = boundingBox.getTopLeft();
position = boundingBox.getTopLeft();
if (viewport.flipped){
position.x = (viewport.getContainerSize().x - position.x);
}