Change Cover to request 1.5 times the size of actual view
This commit is contained in:
parent
1f8cacb668
commit
0402f9e6d0
@ -49,6 +49,6 @@ export default class Manga
|
|||||||
|
|
||||||
static GetMangaCoverUrl(apiUri: string, internalId: string, ref: HTMLElement): string {
|
static GetMangaCoverUrl(apiUri: string, internalId: string, ref: HTMLElement): string {
|
||||||
//console.debug(`Getting Manga Cover-Url ${internalId}`);
|
//console.debug(`Getting Manga Cover-Url ${internalId}`);
|
||||||
return `${apiUri}/v2/Manga/${internalId}/Cover?dimensions=${ref.clientWidth}x${ref.clientHeight}`;
|
return `${apiUri}/v2/Manga/${internalId}/Cover?dimensions=${ref.clientWidth*1.5}x${ref.clientHeight*1.5}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user