From 5cab394cedc17b3cb190bd3bc5054ef755a9dd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 4 Aug 2025 22:34:05 -0500 Subject: [PATCH] Update index.tsx --- .../AssaultRangesVisualizer/components/Cursor/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/website/src/components/Tankopedia/CharacteristicsSection/components/Characteristics/components/AssaultRangesVisualizer/components/Cursor/index.tsx b/packages/website/src/components/Tankopedia/CharacteristicsSection/components/Characteristics/components/AssaultRangesVisualizer/components/Cursor/index.tsx index 22c377b1c..21f07e417 100644 --- a/packages/website/src/components/Tankopedia/CharacteristicsSection/components/Characteristics/components/AssaultRangesVisualizer/components/Cursor/index.tsx +++ b/packages/website/src/components/Tankopedia/CharacteristicsSection/components/Characteristics/components/AssaultRangesVisualizer/components/Cursor/index.tsx @@ -34,6 +34,8 @@ export function AssaultCursor({ maxDistance, maxFakeDistance }: Props) { } function handlePointerMove(event: PointerEvent) { + event.preventDefault(); + const parent = cursor.current?.parentElement; if (!parent) return;