MCPcopy Index your code
hub / github.com/CapSoftware/Cap / resetRecordingTarget

Function resetRecordingTarget

apps/desktop/src/routes/editor/ClipsSidebar.tsx:304–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

302 let hiddenForPicker = false;
303
304 const resetRecordingTarget = () => {
305 const targetMode = untrack(() => rawOptions.targetMode);
306 if (targetMode != null) {
307 setOptions("targetMode", null);
308 void commands.closeTargetSelectOverlays().catch(() => {});
309 }
310 void commands.setEditorRecordingTarget(null).catch(() => {});
311 };
312
313 const showEditorWindow = async (focus: boolean) => {
314 const window = getCurrentWindow();

Callers 1

ClipsSidebarInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected