mirror of
https://github.com/mue/mue.git
synced 2026-07-12 19:52:53 +02:00
Add setting to adjust background brightness
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
"name": "blur",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"name": "brightness",
|
||||
"value": 100
|
||||
},
|
||||
{
|
||||
"name": "events",
|
||||
"value": true
|
||||
|
||||
@@ -55,7 +55,8 @@ export default class SettingsFunctions {
|
||||
}
|
||||
|
||||
static saveStuff() {
|
||||
localStorage.setItem('blur', document.getElementById('blurRange').value); // this is better than inline onChange for performance
|
||||
localStorage.setItem('blur', document.getElementById('blurRange').value);
|
||||
localStorage.setItem('brightness', document.getElementById('brightnessRange').value); // this is better than inline onChange for performance
|
||||
localStorage.setItem('greetingName', document.getElementById('greetingName').value);
|
||||
localStorage.setItem('customBackground', document.getElementById('customBackground').value);
|
||||
if (!document.getElementById('searchEngineInput').enabled === 'false') {
|
||||
|
||||
Reference in New Issue
Block a user