From 3cb787fc72fa8f6e53fbb8eff271ec910c749d12 Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Wed, 22 Apr 2026 20:43:01 +0300 Subject: [PATCH] fix: oops removed delta --- src/components/common/SkinViewer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/common/SkinViewer.tsx b/src/components/common/SkinViewer.tsx index a1cd5e3..a27db77 100644 --- a/src/components/common/SkinViewer.tsx +++ b/src/components/common/SkinViewer.tsx @@ -168,6 +168,7 @@ const SkinViewer = memo(function SkinViewer({ username, setUsername, playPressSo const onMouseUp = () => { isDragging = false; }; const onMouseMove = (e: MouseEvent) => { if (isDragging) { + const delta = (e.clientX - previousMousePosition.x) * 0.01; playerGroup.rotation.y += delta; previousMousePosition = { x: e.clientX, y: e.clientY }; requestRenderRef.current?.();