From 86cf8d1c120fe08251711c218030dde9ccf8cd3d Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Tue, 11 Feb 2025 15:01:57 +0100 Subject: [PATCH] Use different algorithm for dynamic themes on manga page --- src/modules/manga/components/MangaDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/manga/components/MangaDetails.tsx b/src/modules/manga/components/MangaDetails.tsx index 37b79c06..0b1e3130 100644 --- a/src/modules/manga/components/MangaDetails.tsx +++ b/src/modules/manga/components/MangaDetails.tsx @@ -189,7 +189,7 @@ const Thumbnail = ({ img.onload = () => { Promise.all([ Vibrant.from(img).getPalette(), - new FastAverageColor().getColorAsync(img, { algorithm: 'sqrt' }), + new FastAverageColor().getColorAsync(img, { algorithm: 'dominant' }), ]).then(([palette, averageColor]) => { if ( !palette.Vibrant ||