Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56799f10ca |
+1
-1
@@ -528,7 +528,7 @@ export default class PIXIApp extends PIXI.Application {
|
||||
}
|
||||
|
||||
if (progress) {
|
||||
loader.on('progress', e => {
|
||||
loader.onProgress.add(e => {
|
||||
this.progress(e.progress)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -143,8 +143,8 @@ export class PIXITileLoader extends TileLoader {
|
||||
}
|
||||
}
|
||||
|
||||
_onError(loader, error) {
|
||||
console.warn('Cannot load', error)
|
||||
_onError(error, loader, resource) {
|
||||
console.warn('Cannot load', resource ? resource.url : '', error)
|
||||
}
|
||||
|
||||
/** Private method. Called by the PIXI loader after each successfull
|
||||
|
||||
Reference in New Issue
Block a user