diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-01-18 21:59:16 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-01-21 13:35:18 +0300 |
commit | 901cf32360653714eea17e288901fa80eb472d61 (patch) | |
tree | 74d71801f34382d7fd107b8a4edbbe5bf42137a8 /package-lock.json | |
parent | f181c0d7cac3093e08c772f07cefa0098146e8db (diff) |
Show the average color of the user avatar as video background in Safari
Safari suffers the same performance hit as Chromium when using the blur
filter. However, Safari does not support using the blur filter on
canvases, so the same workaround used for Chromium does not work in
Safari. To solve this, and to still use a background with colors related
to the avatar, the average of the colors in the avatar is used.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'package-lock.json')
-rw-r--r-- | package-lock.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json index 3e19dea0c..bc0dd7851 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7530,6 +7530,11 @@ "simple-swizzle": "^0.2.2" } }, + "color.js": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/color.js/-/color.js-1.2.0.tgz", + "integrity": "sha512-0ajlNgWWOR7EK9N6l2h0YKsZPzMCLQG5bheCoTGpGfhkR8tB5eQNItdua1oFHDTeq9JKgSzQJqo+Gp3V/xW+Lw==" + }, "colorette": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz", |