Fixed DeepZoom bounds bug.
This commit is contained in:
parent
8c513b624a
commit
38a2498494
2
dist/iwmlib.pixi.js
vendored
2
dist/iwmlib.pixi.js
vendored
@ -9113,7 +9113,7 @@
|
||||
}
|
||||
|
||||
worldBounds() {
|
||||
let viewBounds = this.app.scene.bounds;
|
||||
let viewBounds = this.app.scene.getBounds();
|
||||
// Using getBounds extends visible scope after loading tiles and leads
|
||||
// to excessive loading
|
||||
if (this.world != null) {
|
||||
|
@ -645,7 +645,7 @@ export class DeepZoomImage extends PIXI.Container {
|
||||
}
|
||||
|
||||
worldBounds() {
|
||||
let viewBounds = this.app.scene.bounds
|
||||
let viewBounds = this.app.scene.getBounds()
|
||||
// Using getBounds extends visible scope after loading tiles and leads
|
||||
// to excessive loading
|
||||
if (this.world != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user