mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: pointer jump
This commit is contained in:
1 parent
5b833bab11
commit
5474cc8d9e
1 file changed
+1
@@ -143,6 +143,7 @@ export const TankModel = memo(() => {
|
||||
function onPointerDown(event: ThreeEvent<PointerEvent>) {
|
||||
if (!isTrack) return;
|
||||
|
||||
position.set(event.clientX, event.clientY);
|
||||
event.stopPropagation();
|
||||
|
||||
mutateTankopediaTemporary((draft) => {
|
||||
|
||||
Reference in new issue
Block a user