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(editor): resolve contrast helper in main build

EtienneLescot19f7a0d5cff1
diff --git a/src/lib/ai-edition/annotations/background.ts b/src/lib/ai-edition/annotations/background.ts
index 9ccd7d527..a9b2b17b8 100644
--- a/src/lib/ai-edition/annotations/background.ts
+++ b/src/lib/ai-edition/annotations/background.ts
@@ -7,7 +7,7 @@
// réversible sans donner un second sens à `backgroundColor`.
import type { AxcutAnnotationRegion } from "@/lib/ai-edition/schema";
-import { textForPlate } from "@/lib/ai-edition/textContrast";
+import { textForPlate } from "../textContrast";
type AnnotationStyle = AxcutAnnotationRegion["style"];