Increase threshold of large thumbnails for dynamic theme colors algo
This commit is contained in:
@@ -45,7 +45,7 @@ export const Thumbnail = ({
|
|||||||
img.src = Mangas.getThumbnailUrl(manga);
|
img.src = Mangas.getThumbnailUrl(manga);
|
||||||
|
|
||||||
img.onload = () => {
|
img.onload = () => {
|
||||||
const isLargeImage = img.width > 600 && img.height > 600;
|
const isLargeImage = img.width > 600 && img.height > 900;
|
||||||
|
|
||||||
Promise.all([
|
Promise.all([
|
||||||
Vibrant.from(img).getPalette(),
|
Vibrant.from(img).getPalette(),
|
||||||
|
|||||||
Reference in New Issue
Block a user