Fixed typos.
This commit is contained in:
parent
05ecd0b048
commit
304818dc13
@ -48,10 +48,11 @@ export default class Tile extends PIXI.Sprite {
|
||||
* Returns true iff the url is pending
|
||||
*
|
||||
* @static
|
||||
* @param {*} url
|
||||
* @returns
|
||||
* @memberof Tile
|
||||
*/
|
||||
static isPending() {
|
||||
static isPending(url) {
|
||||
return pendingTiles.has(url) && pendingTiles.get(url) > 0
|
||||
}
|
||||
|
||||
@ -193,7 +194,7 @@ export default class Tile extends PIXI.Sprite {
|
||||
* @param {*} texture
|
||||
*/
|
||||
static lateTexture(url, texture) {
|
||||
let destroyBase = !deepZoomTileCache.has(url)
|
||||
let destroyBase = !registeredTiles.has(url)
|
||||
texture.destroy(destroyBase)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user