Merge pull request #2709 from yowzadave/master

Fix world.arrange when items have a rotation
This commit is contained in:
Ian Gilman 2025-04-17 09:18:17 -07:00 committed by GitHub
commit 06ce53a3a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 {