Use different algorithm for dynamic themes on manga page

This commit is contained in:
schroda
2025-02-11 15:01:57 +01:00
parent 856e928c44
commit 86cf8d1c12

View File

@@ -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 ||