Skip to content

The swiss army knife of lossless video/audio editing

Make more room in UI by moving icons a bit

Mikael Finstad67e87881b114
diff --git a/src/main.css b/src/main.css
index 79ed56b6..8d8b725c 100644
--- a/src/main.css
+++ b/src/main.css
@@ -38,7 +38,7 @@ input, button, textarea, :focus {
padding: .4em;
}
-.controls-wrapper button, .right-menu button {
+.controls-wrapper button, .right-menu button, .left-menu button {
background: white;
border-radius: .3em;
color: rgba(0, 0, 0, 0.7);
@@ -49,7 +49,7 @@ input, button, textarea, :focus {
border: none;
}
-.controls-wrapper button:active, .right-menu button:active {
+.controls-wrapper button:active, .right-menu button:active, .left-menu button:active {
background: #ccc;
}
@@ -58,6 +58,14 @@ input, button, textarea, :focus {
position: absolute;
right: 0;
bottom: 0;
+ padding: .3em;
+}
+
+.left-menu {
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ padding: .3em;
}
.controls-wrapper {
diff --git a/src/renderer.jsx b/src/renderer.jsx
index 7deb9156..776290c1 100644
--- a/src/renderer.jsx
+++ b/src/renderer.jsx
@@ -404,25 +404,32 @@ class App extends React.Component {
</div>
</div>
- <div className="right-menu">
- <button
- title={`Custom output dir (cancel to restore default). Current: ${this.getOutputDir() || 'Not set (use input dir)'}`}
- onClick={withBlur(() => this.setOutputDir())}
- >
- {this.getOutputDir() ? `...${this.getOutputDir().substr(-10)}` : 'OUT PATH'}
- </button>
+ <div className="left-menu">
<button title="Format">
{this.state.fileFormat || 'FMT'}
</button>
+
<button className="playback-rate" title="Playback rate">
{_.round(this.state.playbackRate, 1) || 1}x
</button>
+ </div>
+
+ <div className="right-menu">
+ <button
+ title={`Custom output dir (cancel to restore default). Current: ${this.getOutputDir() || 'Not set (use input dir)'}`}
+ onClick={withBlur(() => this.setOutputDir())}
+ >
+ {this.getOutputDir() ? `...${this.getOutputDir().substr(-10)}` : 'OUTDIR'}
+ </button>
+
<i
title="Capture frame"
+ style={{ margin: '-.4em -.2em' }}
className="button fa fa-camera"
aria-hidden="true"
onClick={() => this.capture()}
/>
+
<button
title="Capture frame format"
onClick={withBlur(() => this.toggleCaptureFormat())}