Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

more

Richie McIlroy7ff1575dc808
diff --git a/apps/desktop/src/routes/screenshot-editor/context.tsx b/apps/desktop/src/routes/screenshot-editor/context.tsx
index e9cddf949..0a80e2ef6 100644
--- a/apps/desktop/src/routes/screenshot-editor/context.tsx
+++ b/apps/desktop/src/routes/screenshot-editor/context.tsx
@@ -259,7 +259,7 @@ function createScreenshotEditorContext() {
}
try {
- const imageData = new ImageData(processedData, width, height);
+ const imageData = new ImageData(processedData.buffer as unknown as ImageDataArray, width, height);
const bitmap = await createImageBitmap(imageData);
const existing = latestFrame();
if (existing?.bitmap && existing.bitmap !== bitmap) {