Use different algorithm for dynamic themes on manga page
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user