feat(ui): restore inverted optical liquid glass reflection with cylindrical lens distortion and 120 FPS performance
This commit is contained in:
@@ -9,13 +9,14 @@ export function SmoothScroll() {
|
||||
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
|
||||
|
||||
const lenis = new Lenis({
|
||||
duration: 1.2,
|
||||
duration: 1.15,
|
||||
easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)),
|
||||
orientation: 'vertical',
|
||||
gestureOrientation: 'vertical',
|
||||
smoothWheel: true,
|
||||
syncTouch: false, // Preserves hardware 120Hz momentum touch scrolling on phones & tablets
|
||||
wheelMultiplier: 0.95,
|
||||
touchMultiplier: 1.5,
|
||||
touchMultiplier: 1.0,
|
||||
});
|
||||
|
||||
let rafId: number;
|
||||
|
||||
Reference in New Issue
Block a user