Adjust Lenis library's initial configuration settings
This commit is contained in:
parent
242b411ab0
commit
b54e445a26
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ We set the language of the page to English and add classes for scrollbar and scr
|
|||
<script is:inline src="/scripts/vendor/lenis/lenis.js"></script>
|
||||
<script is:inline>
|
||||
// Script to handle Lenis library settings for smooth scrolling
|
||||
const lenis = new Lenis({ smooth: true, smoothTouch: false });
|
||||
const lenis = new Lenis();
|
||||
|
||||
function raf(time) {
|
||||
lenis.raf(time);
|
||||
|
|
Loading…
Add table
Reference in a new issue