Skip to content

Commit

Permalink
fix: remove extra timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Nov 18, 2022
1 parent 095db84 commit f304c3a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ export function createVirtualCursor(): Plugin {

const update = () => {
updateCursor(view, cursor)
setTimeout(() => {
updateCursor(view, cursor)
}, 500)
}

if (window.ResizeObserver) {
Expand Down

0 comments on commit f304c3a

Please # to comment.