mirror of
https://github.com/mue/mue.git
synced 2026-07-25 17:51:14 +02:00
feat: debug timeout option, translation support for many things and improve sliders
This commit is contained in:
@@ -60,7 +60,6 @@ export default class BackgroundSettings extends React.PureComponent {
|
||||
|
||||
const customSettings = (
|
||||
<>
|
||||
<h3>{background.source.title}</h3>
|
||||
<ul>
|
||||
<p>{background.source.custom_url} <span className='modalLink' onClick={() => this.resetItem('customBackground')}>{this.language.buttons.reset}</span></p>
|
||||
<input type='text' value={this.state.customBackground} onChange={(e) => this.setState({ customBackground: e.target.value })}></input>
|
||||
@@ -98,9 +97,9 @@ export default class BackgroundSettings extends React.PureComponent {
|
||||
<br/><br/>
|
||||
|
||||
<Dropdown label='Type' name='backgroundType' onChange={(value) => this.setState({ backgroundType: value })}>
|
||||
<option value='api'>API</option>
|
||||
<option value='custom'>Custom Image</option>
|
||||
<option value='colour'>Custom Colour/Gradient</option>
|
||||
<option value='api'>{background.type.api}</option>
|
||||
<option value='custom'>{background.type.custom_image}</option>
|
||||
<option value='colour'>{background.type.custom_colour}</option>
|
||||
</Dropdown>
|
||||
<br/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user