Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: filter application race

httpjamesmfc00bf9acac6
diff --git a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
index 6b77f9f4a9..b9f7ad8bcf 100644
--- a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
@@ -128,8 +128,6 @@ const ImageEditorOverlay = (props: IProps) => {
}, [brightness, contrast, blur, saturation, invert, canvasRef, fileURL]);
const applyFilters = async (canvases: HTMLCanvasElement[]) => {
- if (!coloursAdjusted) return;
-
try {
for (const canvas of canvases) {
const blurSizeRatio =