feat(ui): restore inverted optical liquid glass reflection with cylindrical lens distortion and 120 FPS performance

This commit is contained in:
2026-11-03 15:46:35 +05:30
parent 48f8c456bc
commit e14192d2a8
3 changed files with 68 additions and 50 deletions
+3 -2
View File
@@ -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;