preserve muted setting

pull/276/head
Mikael Finstad 6 years ago
parent 6e9bb876f4
commit 79319d21b7

@ -103,7 +103,6 @@ const App = memo(() => {
const [detectedFps, setDetectedFps] = useState(); const [detectedFps, setDetectedFps] = useState();
const [mainStreams, setStreams] = useState([]); const [mainStreams, setStreams] = useState([]);
const [copyStreamIdsByFile, setCopyStreamIdsByFile] = useState({}); const [copyStreamIdsByFile, setCopyStreamIdsByFile] = useState({});
const [muted, setMuted] = useState(false);
const [streamsSelectorShown, setStreamsSelectorShown] = useState(false); const [streamsSelectorShown, setStreamsSelectorShown] = useState(false);
const [zoom, setZoom] = useState(1); const [zoom, setZoom] = useState(1);
@ -118,6 +117,7 @@ const App = memo(() => {
const [invertCutSegments, setInvertCutSegments] = useState(false); const [invertCutSegments, setInvertCutSegments] = useState(false);
const [autoExportExtraStreams, setAutoExportExtraStreams] = useState(true); const [autoExportExtraStreams, setAutoExportExtraStreams] = useState(true);
const [askBeforeClose, setAskBeforeClose] = useState(true); const [askBeforeClose, setAskBeforeClose] = useState(true);
const [muted, setMuted] = useState(false);
const videoRef = useRef(); const videoRef = useRef();
const timelineWrapperRef = useRef(); const timelineWrapperRef = useRef();
@ -188,7 +188,6 @@ const App = memo(() => {
setDetectedFps(); setDetectedFps();
setStreams([]); setStreams([]);
setCopyStreamIdsByFile({}); setCopyStreamIdsByFile({});
setMuted(false);
setInvertCutSegments(false); setInvertCutSegments(false);
setStreamsSelectorShown(false); setStreamsSelectorShown(false);
setZoom(1); setZoom(1);

Loading…
Cancel
Save