From 1adcab68943e59bcd7d64a7b1e3280df95eeebf8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 17 Apr 2025 10:54:42 -0400 Subject: [PATCH] Fix world.arrange when items have a rotation --- src/world.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world.js b/src/world.js index 6ab55742..ebaf981b 100644 --- a/src/world.js +++ b/src/world.js @@ -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 {