mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +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>) {
|
function onPointerDown(event: ThreeEvent<PointerEvent>) {
|
||||||
if (!isTrack) return;
|
if (!isTrack) return;
|
||||||
|
|
||||||
|
position.set(event.clientX, event.clientY);
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
mutateTankopediaTemporary((draft) => {
|
mutateTankopediaTemporary((draft) => {
|
||||||
|
|||||||
Reference in new issue
Block a user