Fetch images via html img elements (#727)
This commit is contained in:
@@ -863,7 +863,7 @@ export class RequestManager {
|
|||||||
/**
|
/**
|
||||||
* Make sure to call "cleanup" once the image is not needed anymore (only required if fetched via "fetch api")
|
* Make sure to call "cleanup" once the image is not needed anymore (only required if fetched via "fetch api")
|
||||||
*/
|
*/
|
||||||
public requestImage(url: string, priority?: QueuePriority, useFetchApi: boolean = true): ImageRequest {
|
public requestImage(url: string, priority?: QueuePriority, useFetchApi: boolean = false): ImageRequest {
|
||||||
if (useFetchApi) {
|
if (useFetchApi) {
|
||||||
return this.fetchImageViaFetchApi(url, priority);
|
return this.fetchImageViaFetchApi(url, priority);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user