mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Revert testing values
This commit is contained in:
parent
6840beaca9
commit
d7fda69e9c
2 changed files with 5 additions and 6 deletions
|
@ -58,7 +58,7 @@ import 'css!./style';
|
||||||
|
|
||||||
imgData.data.set(pixels);
|
imgData.data.set(pixels);
|
||||||
// Values taken from https://www.npmjs.com/package/blurhash
|
// Values taken from https://www.npmjs.com/package/blurhash
|
||||||
ctx.putImageData(imgData, 1, 1);
|
ctx.putImageData(imgData, 0, 0);
|
||||||
|
|
||||||
let child = target.appendChild(canvas);
|
let child = target.appendChild(canvas);
|
||||||
child.classList.add('blurhash-canvas');
|
child.classList.add('blurhash-canvas');
|
||||||
|
|
|
@ -6,13 +6,12 @@
|
||||||
transition: opacity 0.7s;
|
transition: opacity 0.7s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We let the canvas overflow a little, so it gives a cooler zoom effect when transitioning */
|
|
||||||
.blurhash-canvas {
|
.blurhash-canvas {
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -5px;
|
top: 0;
|
||||||
left: -5px;
|
left: 0;
|
||||||
width: 105%;
|
width: 100%;
|
||||||
height: 105%;
|
height: 100%;
|
||||||
z-index: -1000;
|
z-index: -1000;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue