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() {
 | 
					        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) {
 | 
				
			||||||
 | 
				
			|||||||
@ -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) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user