From 79eecdcc7602aa85efe68aaaa7b67f69f24a315d Mon Sep 17 00:00:00 2001 From: Richard Benjamin Allen Date: Tue, 18 Jun 2024 11:10:11 +0100 Subject: [PATCH] Fixed: Remove duplicate line --- src/overlay.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/overlay.js b/src/overlay.js index b942409a..5676769d 100644 --- a/src/overlay.js +++ b/src/overlay.js @@ -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); }