The swiss army knife of lossless video/audio editing
fix bug (double shift)
Mikael Finstad56fc47fb9267
diff --git a/src/App.jsx b/src/App.jsxindex 74dae65d..a4d8387d 100644--- a/src/App.jsx+++ b/src/App.jsx@@ -446,7 +446,7 @@ const App = memo(() => {const shift = await askForShiftSegments();if (shift == null) return;const { shiftAmount, shiftValues } = shift;- const clampValue = (val) => Math.min(Math.max(val + shiftAmount, 0), duration);+ const clampValue = (val) => Math.min(Math.max(val, 0), duration);const newSegments = apparentCutSegments.map((segment) => {if (!isSegmentSelected(segment)) return segment;const newSegment = { ...segment };