Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

Hide cursor for native Windows capture

webadderallbb6d7a6889fb
diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.ts
index 9a8060b9..de7d16eb 100644
--- a/electron/ipc/handlers.ts
+++ b/electron/ipc/handlers.ts
@@ -2138,6 +2138,7 @@ body{background:transparent;overflow:hidden;width:100vw;height:100vh}
}
try {
+ hideCursor()
const exePath = getWindowsCaptureExePath()
const recordingsDir = await getRecordingsDir()
const timestamp = Date.now()
@@ -2199,6 +2200,7 @@ body{background:transparent;overflow:hidden;width:100vw;height:100vh}
} catch (error) {
console.error('Failed to start native Windows capture:', error)
try { windowsCaptureProcess?.kill() } catch { /* ignore */ }
+ showCursor()
windowsNativeCaptureActive = false
nativeScreenRecordingActive = false
windowsCaptureProcess = null