T45d Site · Components: comments one short line
This commit is contained in:
1 parent
8712fd0389
commit
8d647e632f
4 files changed
+4
-4
No files matched your search
@@ -11,7 +11,7 @@ export function smooth(): { lenis: Lenis; end: () => void } {
|
||||
return { lenis: own, end: () => (own.destroy(), (lenis = null)) };
|
||||
}
|
||||
|
||||
/** Holds the page still at once, a glide in flight included. */
|
||||
/** Holds the page still at once, glide included. */
|
||||
export function hold(still: boolean): void {
|
||||
if (still) lenis?.stop();
|
||||
else lenis?.start();
|
||||
|
||||
Reference in new issue
Block a user