mirror of
https://github.com/mue/mue.git
synced 2026-07-24 17:27:17 +02:00
Hiding alpha settings
This commit is contained in:
@@ -214,7 +214,7 @@ export default class BackgroundSettings extends React.PureComponent {
|
||||
const newState = {
|
||||
gradientSettings: {
|
||||
...s.gradientSettings,
|
||||
gradient: [...initGradients, lastGradient, { 'colour': '#000000', stop: 100 }].sort((a, b) => (a.stop > b.stop) ? 1 : -1)
|
||||
gradient: [...initGradients, lastGradient, { 'colour': localStorage.getItem('darkTheme') === 'true' ? '#000000' : '#ffffff', stop: 100 }].sort((a, b) => (a.stop > b.stop) ? 1 : -1)
|
||||
}
|
||||
};
|
||||
return newState;
|
||||
|
||||
Reference in New Issue
Block a user