Skip to content

Commit

Permalink
auto select goto timecode #1988
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed May 11, 2024
1 parent ecc5704 commit 236bdd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer/src/dialogs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export async function promptTimeOffset({ initialValue, title, text, inputPlaceho
text,
input: 'text',
inputValue: initialValue || '',
didOpen: () => {
Swal.getInput()!.select();
},
showCancelButton: true,
inputPlaceholder,
});
Expand Down

0 comments on commit 236bdd8

Please sign in to comment.