Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix unused

Siddharth124f2da99280
diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.ts
index 5f3727d39..b0bf35323 100644
--- a/electron/ipc/handlers.ts
+++ b/electron/ipc/handlers.ts
@@ -12,7 +12,6 @@ type SelectedSource = {
};
let selectedSource: SelectedSource | null = null;
-let currentVideoPath: string | null = null;
let currentProjectPath: string | null = null;
function normalizePath(filePath: string) {
@@ -129,7 +128,6 @@ export function registerIpcHandlers(
try {
const videoPath = path.join(RECORDINGS_DIR, fileName);
await fs.writeFile(videoPath, Buffer.from(videoData));
- currentVideoPath = videoPath;
currentProjectPath = null;
const telemetryPath = `${videoPath}.cursor.json`;
diff --git a/src/lib/exporter/frameRenderer.ts b/src/lib/exporter/frameRenderer.ts
index 47aeda5a4..fe581e1ee 100644
--- a/src/lib/exporter/frameRenderer.ts
+++ b/src/lib/exporter/frameRenderer.ts
@@ -79,7 +79,6 @@ export class FrameRenderer {
// Try to set colorSpace if supported (may not be available on all platforms)
try {
if (canvas && "colorSpace" in canvas) {
- // @ts-expect-error
canvas.colorSpace = "srgb";
}
} catch (error) {