Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
docs(hud): replace the guessed exposure window with a measured one
Etienne Lescot70496441f089
diff --git a/electron/windows.ts b/electron/windows.tsindex d6926f7a6..0b19d5b98 100644--- a/electron/windows.ts+++ b/electron/windows.ts@@ -266,11 +266,11 @@ export function createHudOverlayWindow(): BrowserWindow {});// Deliberately NOT born click-through: the renderer asks for it on mount, over- // "hud-overlay-ignore-mouse-events", within a frame or two of the first paint- // (`show: false` holds this window back until ready-to-show). What that leaves- // open is an invisible rectangle that swallows a desktop click for those two- // frames, right after the user launched the app — against what doing it here cost- // them: the whole app (issue #266). On Windows the `forward` option is a global+ // "hud-overlay-ignore-mouse-events" (`show: false` holds this window back until+ // ready-to-show, so the two are ~85 ms apart — measured, not assumed). What that+ // leaves open is an invisible rectangle that can swallow one desktop click in+ // those 85 ms, right after the user launched the app — against what doing it here+ // cost them: the whole app (issue #266). On Windows the `forward` option is a global// WH_MOUSE_LL hook, and that hook is the only way out of the state, because// Chromium sends no pointermove to a window it has made input-transparent — so// the renderer can never ask to leave it on its own. Electron latches