Fixed worker path problems.

This commit is contained in:
2019-07-04 09:17:43 +02:00
parent da212ac188
commit 4e9dd2fa02
8 changed files with 260 additions and 67 deletions
+2 -2
View File
@@ -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