Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fmt

Richie McIlroy20c825a24bbb
diff --git a/apps/desktop/src/routes/screenshot-editor/context.tsx b/apps/desktop/src/routes/screenshot-editor/context.tsx
index 0a80e2ef6..99336b240 100644
--- a/apps/desktop/src/routes/screenshot-editor/context.tsx
+++ b/apps/desktop/src/routes/screenshot-editor/context.tsx
@@ -259,7 +259,11 @@ function createScreenshotEditorContext() {
}
try {
- const imageData = new ImageData(processedData.buffer as unknown as ImageDataArray, 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) {