The swiss army knife of lossless video/audio editing
change menu text
Mikael Finstad75839487b07a
diff --git a/src/menu.js b/src/menu.jsindex 42a814d5..bb846af5 100644--- a/src/menu.js+++ b/src/menu.js@@ -41,7 +41,7 @@ module.exports = (app, mainWindow, newVersion) => {},},{- label: 'Set custom start time offset',+ label: 'Set custom start offset/timecode',click() {mainWindow.webContents.send('set-start-offset', true);},diff --git a/src/renderer.jsx b/src/renderer.jsxindex 54af5348..7d3bdaf5 100644--- a/src/renderer.jsx+++ b/src/renderer.jsx@@ -174,10 +174,7 @@ class App extends React.Component {startTimeOffsetOld !== undefined ? formatDuration(startTimeOffsetOld) : undefined,);- if (startTimeOffset === undefined) {- console.log('Cancelled');- return;- }+ if (startTimeOffset === undefined) return;this.setState({ startTimeOffset });});diff --git a/src/util.js b/src/util.jsindex a191d14f..d9c24350 100644--- a/src/util.js+++ b/src/util.js@@ -83,7 +83,7 @@ function setFileNameTitle(filePath) {async function promptTimeOffset(inputValue) {const { value } = await swal.fire({title: 'Set custom start time offset',- text: 'Instead of video apparently starting at 0, you can offset by a specified value (useful for timecodes)',+ text: 'Instead of video apparently starting at 0, you can offset by a specified value (useful for viewing/cutting videos according to timecodes)',input: 'text',inputValue: inputValue || '',showCancelButton: true,