From 0402f9e6d003601b0f6976b8638c390d38cb8e69 Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 31 Oct 2024 21:59:41 +0100 Subject: [PATCH] Change Cover to request 1.5 times the size of actual view --- Website/modules/Manga.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/modules/Manga.tsx b/Website/modules/Manga.tsx index 3e40dfe..2e0e419 100644 --- a/Website/modules/Manga.tsx +++ b/Website/modules/Manga.tsx @@ -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}`; } } \ No newline at end of file