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

Function createCameraWindowChromeVisibility

apps/desktop/src/routes/camera.tsx:79–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77const shouldIgnoreMove = () => Date.now() < ignoreMoveUntil;
78
79function createCameraWindowChromeVisibility() {
80 const [visible, setVisible] = createSignal(false);
81
82 return {
83 visible,
84 show: () => setVisible(true),
85 hide: () => setVisible(false),
86 };
87}
88
89const queueCameraPositionSave = (() => {
90 let pending: { x: number; y: number } | null = null;

Callers 2

NativeCameraPreviewPageFunction · 0.85
LegacyCameraPreviewPageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected