Skip to content

The swiss army knife of lossless video/audio editing

auto select goto timecode #1988

Mikael Finstad236bdd80c886
diff --git a/src/renderer/src/dialogs/index.tsx b/src/renderer/src/dialogs/index.tsx
index 9c50b4a3..c4045160 100644
--- a/src/renderer/src/dialogs/index.tsx
+++ b/src/renderer/src/dialogs/index.tsx
@@ -25,6 +25,9 @@ export async function promptTimeOffset({ initialValue, title, text, inputPlaceho
text,
input: 'text',
inputValue: initialValue || '',
+ didOpen: () => {
+ Swal.getInput()!.select();
+ },
showCancelButton: true,
inputPlaceholder,
});