Fixed worker path problems.
This commit is contained in:
@@ -344,7 +344,7 @@ export class DeepZoomImage extends PIXI.Container {
|
||||
world = null, // Defines the world bounds the images lives in
|
||||
highResolution = true,
|
||||
autoLoadTiles = true,
|
||||
preferWorker = false,
|
||||
useWorker = '',
|
||||
minimumLevel = 0,
|
||||
alpha = 1,
|
||||
app = window.app
|
||||
@@ -355,7 +355,7 @@ export class DeepZoomImage extends PIXI.Container {
|
||||
this.debug = debug
|
||||
this.shadow = shadow
|
||||
this.world = world
|
||||
this.preferWorker = preferWorker
|
||||
this.useWorker = useWorker
|
||||
this.resolution = highResolution
|
||||
? Math.round(window.devicePixelRatio)
|
||||
: 1
|
||||
|
||||
Reference in New Issue
Block a user