fix: cursor smooth movement on higher refreshrate monitors
This commit is contained in:
3 files changed
+21
-19
No files matched your search
@@ -101,7 +101,7 @@
|
||||
duration: smoothCursor ? $cursorSmoothness : 0,
|
||||
translateX: mouseX,
|
||||
translateY: mouseY,
|
||||
ease: (t: number) => (t - 1) ** 5 + 1,
|
||||
ease: (t: number) => t === 1 ? 1 : 1 - Math.pow(2, -10 * t),
|
||||
});
|
||||
|
||||
animate(cursor, {
|
||||
|
||||
Reference in new issue
Block a user