MCPcopy
hub / github.com/CapSoftware/Cap / centerCameraOnlyWindow

Function centerCameraOnlyWindow

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

Source from the content-addressed store, hash-verified

234 );
235
236 const centerCameraOnlyWindow = () => {
237 ignoreMoveFor(1500);
238 void commands.ignoreCameraWindowPosition(1500);
239 void centerCurrentWindow();
240 setTimeout(() => {
241 void centerCurrentWindow();
242 }, 120);
243 };
244
245 onMount(() => {
246 if (isCameraOnlyMode()) {

Callers 2

NativeCameraPreviewPageFunction · 0.85
LegacyCameraPreviewPageFunction · 0.85

Calls 2

ignoreMoveForFunction · 0.85
centerCurrentWindowFunction · 0.85

Tested by

no test coverage detected