Fixed loader bug.
This commit is contained in:
@@ -88,7 +88,7 @@ export class PIXITileLoader extends TileLoader {
|
||||
this.loader.on('load', this._onLoaded.bind(this))
|
||||
this.loader.on('error', this._onError.bind(this))
|
||||
if (compression) {
|
||||
this.loader.pre(PIXI.compressedTextures.imageParser())
|
||||
this.loader.use(PIXI.compressedTextures.ImageParser.use)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+8
-1
@@ -898,7 +898,14 @@ export class DOMScatterContainer {
|
||||
*/
|
||||
constructor(
|
||||
element,
|
||||
{ stopEvents = 'auto', claimEvents = true, useCapture = true, capturePointerEvents = true, touchAction = 'none', debugCanvas = null } = {}
|
||||
{
|
||||
stopEvents = 'auto',
|
||||
claimEvents = true,
|
||||
useCapture = true,
|
||||
capturePointerEvents = true,
|
||||
touchAction = 'none',
|
||||
debugCanvas = null
|
||||
} = {}
|
||||
) {
|
||||
this.onCapture = null
|
||||
this.element = element
|
||||
|
||||
Reference in New Issue
Block a user