mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
Update index.tsx
This commit is contained in:
1 parent
2033fab21a
commit
5cab394ced
1 file changed
+2
+2
@@ -34,6 +34,8 @@ export function AssaultCursor({ maxDistance, maxFakeDistance }: Props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handlePointerMove(event: PointerEvent) {
|
function handlePointerMove(event: PointerEvent) {
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
const parent = cursor.current?.parentElement;
|
const parent = cursor.current?.parentElement;
|
||||||
|
|
||||||
if (!parent) return;
|
if (!parent) return;
|
||||||
|
|||||||
Reference in new issue
Block a user