From f304c3a682ccf07a0b3434b129a9a4b9d25a524e Mon Sep 17 00:00:00 2001 From: ocavue Date: Fri, 18 Nov 2022 21:47:58 +0800 Subject: [PATCH] fix: remove extra timeout --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index af3a641..40e162a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,9 +20,6 @@ export function createVirtualCursor(): Plugin { const update = () => { updateCursor(view, cursor) - setTimeout(() => { - updateCursor(view, cursor) - }, 500) } if (window.ResizeObserver) {