Merge pull request #26 from KazooTTT/master
fix:reset and save the devIconOptions
BIN
public/logo.png
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 8.1 KiB |
@ -54,7 +54,10 @@ class Editor extends React.Component {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
handleReset = () => {
|
handleReset = () => {
|
||||||
this.setState(defaultSettings);
|
this.setState({
|
||||||
|
...defaultSettings,
|
||||||
|
devIconOptions: this.state.devIconOptions,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
getRandomTheme = (theme, Pattern) => {
|
getRandomTheme = (theme, Pattern) => {
|
||||||
|