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
fix export mouse overlay
Siddharth899504f8e209
diff --git a/src/lib/exporter/frameRenderer.ts b/src/lib/exporter/frameRenderer.tsindex 5906c703c..1e5138cec 100644--- a/src/lib/exporter/frameRenderer.ts+++ b/src/lib/exporter/frameRenderer.ts@@ -627,12 +627,19 @@ export class FrameRenderer {this.maskGraphics.roundRect(0, 0, screenRect.width, screenRect.height, scaledBorderRadius);this.maskGraphics.fill({ color: 0xffffff });- // Cache layout info+ // Cache layout info. baseOffset is the stage position of the FULL+ // (uncropped) video sprite's top-left — matches preview semantics so+ // downstream consumers (e.g. cursor highlight) can map normalized+ // recording-space coordinates to stage coordinates uniformly:+ // stagePos = baseOffset + (cx, cy) * (videoWidth, videoHeight) * baseScalethis.layoutCache = {stageSize: { width, height },videoSize: { width: croppedVideoWidth, height: croppedVideoHeight },baseScale: scale,- baseOffset: { x: compositeLayout.screenRect.x, y: compositeLayout.screenRect.y },+ baseOffset: {+ x: compositeLayout.screenRect.x + coverOffsetX - cropPixelX,+ y: compositeLayout.screenRect.y + coverOffsetY - cropPixelY,+ },maskRect: compositeLayout.screenRect,webcamRect: compositeLayout.webcamRect,};