Fixed: Remove trailing spaces

This commit is contained in:
Richard Benjamin Allen 2024-06-18 11:22:23 +01:00
parent 79eecdcc76
commit 263dc85fbd

View File

@ -269,7 +269,6 @@
else {
rotate = positionAndSize.rotate;
}
// call the onDraw callback if it exists to allow one to overwrite
// the drawing/positioning/sizing of the overlay
if (this.onDraw) {
@ -320,11 +319,9 @@
var rect = new $.Rect(position.x, position.y, size.x, size.y);
var boundingBox = this._getBoundingBox(rect, viewport.getRotation(true));
position = boundingBox.getTopLeft();
if (viewport.flipped){
position.x = (viewport.getContainerSize().x - position.x);
}
size = boundingBox.getSize();
} else {
rotate = viewport.getRotation(true);