diff --git a/src/renderer.jsx b/src/renderer.jsx index f3edeefe..79f6dfdf 100644 --- a/src/renderer.jsx +++ b/src/renderer.jsx @@ -139,6 +139,10 @@ class App extends React.Component { }); } + getFileUri() { + return (this.state.filePath || '').replace(/#/g, '%23'); + } + jumpCutStart() { seekAbs(this.state.cutStartTime); } @@ -224,10 +228,6 @@ class App extends React.Component { }); } - getFileUri() { - return (this.state.filePath || '').replace(/#/g, '%23'); - } - render() { return (