mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-12-03 02:26:07 +03:00
Fixed positioning issue when going to book mode with tall images (m2)
This commit is contained in:
parent
f531a18531
commit
5443eedebc
@ -415,7 +415,7 @@
|
|||||||
item = this.viewer.world.getItemAt(this.page - 1);
|
item = this.viewer.world.getItemAt(this.page - 1);
|
||||||
if (item) {
|
if (item) {
|
||||||
box = item.getBounds();
|
box = item.getBounds();
|
||||||
x -= width;
|
x -= box.width;
|
||||||
width += box.width;
|
width += box.width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user