mirror of
https://github.com/LBRYFoundation/lbryorg.git
synced 2025-08-23 20:47:23 +00:00
tweak depth factor
This commit is contained in:
parent
6cd83ec786
commit
ed14d06154
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
// Parallax
|
||||
const depthFactor = 5; // Depth of the image wrt to the 0 z-index. 1 being at the same distance as the rest of the content and Infinity being as far away as possible.
|
||||
const depthFactor = 3; // Depth of the image wrt to the 0 z-index. 1 being at the same distance as the rest of the content and Infinity being as far away as possible.
|
||||
$(window).on('scroll', () => {
|
||||
const movedBy = window.scrollY;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue