Release 0.14.0-alpha #42

Merged
uz1mani merged 109 commits from staging into main 2026-03-12 12:12:03 +00:00
26 changed files with 1630 additions and 798 deletions
Showing only changes of commit 8c9c711296 - Show all commits

View File

@@ -91,14 +91,14 @@ export default function Globe({ data, className }: GlobeProps) {
onMouseMove={(e) => { onMouseMove={(e) => {
if (pointerRef.current !== null) { if (pointerRef.current !== null) {
const delta = e.clientX - pointerRef.current const delta = e.clientX - pointerRef.current
dragRef.current += delta / 3000 dragRef.current += delta / 800
pointerRef.current = e.clientX pointerRef.current = e.clientX
} }
}} }}
onTouchMove={(e) => { onTouchMove={(e) => {
if (pointerRef.current !== null && e.touches[0]) { if (pointerRef.current !== null && e.touches[0]) {
const delta = e.touches[0].clientX - pointerRef.current const delta = e.touches[0].clientX - pointerRef.current
dragRef.current += delta / 3000 dragRef.current += delta / 800
pointerRef.current = e.touches[0].clientX pointerRef.current = e.touches[0].clientX
} }
}} }}