aspect ratio presets for capture frame

This commit is contained in:
2026-05-12 01:40:27 +03:00
parent 63e41297e9
commit c1d474325f
3 changed files with 40 additions and 1 deletions
+2
View File
@@ -109,6 +109,8 @@ export const api = {
revealInExplorer: (path: string) => invoke<void>("reveal_in_explorer", { path }),
showOverlay: () => invoke<void>("show_overlay"),
hideOverlay: () => invoke<void>("hide_overlay"),
setOverlaySize: (width: number, height: number) =>
invoke<void>("set_overlay_size", { width, height }),
getOverlayRect: () => invoke<CaptureRect>("get_overlay_rect"),
extractThumbnails: (fps: number) =>
invoke<string[]>("extract_thumbnails", { fps }),