Add WATERMARK tab with custom draggable text; hide FRAME in camera; fix double-dark after highlight capture

This commit is contained in:
2026-09-10 07:17:14 +07:00
parent 2512e05c92
commit 144b211d35
7 changed files with 315 additions and 42 deletions
+12
View File
@@ -76,3 +76,15 @@ export interface GPSInfo {
timestamp: number;
source?: 'exif' | 'mediaLibrary' | 'device'; // where the GPS data came from
}
// Custom text watermark (WATERMARK tab -> CUSTOM WATERMARK chip): enabled flag,
// the typed text, and its anchor position as 0..1 fractions of the photo area
// (0.5/0.5 = centered). The anchor is the text's BASELINE plus a small 0.35em
// drop in both renderers — keep the formula in sync across Viewfinder +
// exportEngine.
export interface CustomWatermark {
enabled: boolean;
text: string;
x: number;
y: number;
}