Fix world.arrange when items have a rotation

This commit is contained in:
David Anderson 2025-04-17 10:54:42 -04:00
parent 393ab25d74
commit 1adcab6894
No known key found for this signature in database
GPG key ID: 4EA8FEDD2BA2BDE8

View file

@ -554,7 +554,7 @@ $.extend( $.World.prototype, $.EventSource.prototype, /** @lends OpenSeadragon.W
}
item = this._items[i];
box = item.getBounds();
box = item.getBoundsNoRotate();
if (box.width > box.height) {
width = tileSize;
} else {