Fixed DeepZoom bounds bug.

This commit is contained in:
Sebastian Kupke 2019-05-27 15:42:55 +02:00
parent 8c513b624a
commit 38a2498494
2 changed files with 2 additions and 2 deletions

2
dist/iwmlib.pixi.js vendored
View File

@ -9113,7 +9113,7 @@
} }
worldBounds() { worldBounds() {
let viewBounds = this.app.scene.bounds; let viewBounds = this.app.scene.getBounds();
// Using getBounds extends visible scope after loading tiles and leads // Using getBounds extends visible scope after loading tiles and leads
// to excessive loading // to excessive loading
if (this.world != null) { if (this.world != null) {

View File

@ -645,7 +645,7 @@ export class DeepZoomImage extends PIXI.Container {
} }
worldBounds() { worldBounds() {
let viewBounds = this.app.scene.bounds let viewBounds = this.app.scene.getBounds()
// Using getBounds extends visible scope after loading tiles and leads // Using getBounds extends visible scope after loading tiles and leads
// to excessive loading // to excessive loading
if (this.world != null) { if (this.world != null) {