Minor tweaks

This commit is contained in:
Jake Archibald
2018-08-02 16:52:57 +01:00
parent e0dc1b48ec
commit 3a0db14c40
2 changed files with 3 additions and 5 deletions

View File

@@ -125,14 +125,12 @@ export default class Options extends Component<Props, State> {
/>
Enable
</label>
{preprocessorState.quantizer.enabled ? (
{preprocessorState.quantizer.enabled &&
<QuantizerOptionsComponent
options={preprocessorState.quantizer}
onChange={this.onQuantizerOptionsChange}
/>
) : (
<div/>
)}
}
<hr/>
<label>
Mode: