Change Cover to request 1.5 times the size of actual view

This commit is contained in:
glax 2024-10-31 21:59:41 +01:00
parent 1f8cacb668
commit 0402f9e6d0

View File

@ -49,6 +49,6 @@ export default class Manga
static GetMangaCoverUrl(apiUri: string, internalId: string, ref: HTMLElement): string {
//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}`;
}
}