From 124f2da992802d59ee4f5cd97229e1820387a832 Mon Sep 17 00:00:00 2001 From: Siddharth Date: Sat, 7 Mar 2026 18:17:29 -0800 Subject: [PATCH] fix unused --- electron/ipc/handlers.ts | 2 -- src/lib/exporter/frameRenderer.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.ts index 5f3727d..b0bf353 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 47aeda5..fe581e1 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) {