MCPcopy Create free account
hub / github.com/anomalyco/opencode / reset

Function reset

packages/app/src/utils/aim.ts:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 const reset = () => {
33 cancel()
34 state.over = undefined
35 state.last = undefined
36 state.locs.length = 0
37 }
38
39 const move = (event: MouseEvent) => {
40 if (!props.enabled()) return

Callers

nothing calls this directly

Calls 1

cancelFunction · 0.70

Tested by

no test coverage detected