Updated to PixiJS v5.
This commit is contained in:
@@ -595,7 +595,7 @@ export class DeepZoomImage extends PIXI.Container {
|
||||
* @return {Sprite} sprite - A sprite with a single tile texture
|
||||
*/
|
||||
thumbnail() {
|
||||
return new PIXI.Sprite.fromImage(this.info.baseURL)
|
||||
return new PIXI.Sprite.from(this.info.baseURL)
|
||||
}
|
||||
|
||||
/** Returns a list of all tiles of a given level.
|
||||
|
||||
Reference in New Issue
Block a user