mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-13 18:16:19 +02:00
⚡ Change useBlur setting to lightVersion
This commit is contained in:
@ -456,7 +456,7 @@
|
||||
<input type="checkbox" d-change="updateSetting" data-setting="replaceNewTab"> Replace new tab page
|
||||
</label>
|
||||
<label class="line">
|
||||
<input type="checkbox" d-change="updateSetting" data-setting="useBlur"> Use blur overlay (needs restart)
|
||||
<input type="checkbox" d-change="updateSetting" data-setting="lightVersion"> Toggle fast/light version (needs restart)
|
||||
</label>
|
||||
</p>
|
||||
<hr>
|
||||
|
@ -1588,9 +1588,9 @@ customEditorFontInput
|
||||
$('[data-setting=editorCustomFont]').value = prefs.editorCustomFont;
|
||||
$('[data-setting=autoSave]').checked = prefs.autoSave;
|
||||
$('[data-setting=autoComplete]').checked = prefs.autoComplete;
|
||||
$('[data-setting=useBlur]').checked = prefs.useBlur;
|
||||
$('[data-setting=lightVersion]').checked = prefs.lightVersion;
|
||||
|
||||
if (prefs.useBlur) {
|
||||
if (!prefs.lightVersion) {
|
||||
document.body.classList.add('blur');
|
||||
}
|
||||
}
|
||||
@ -2160,7 +2160,7 @@ customEditorFontInput
|
||||
editorCustomFont: '',
|
||||
autoSave: true,
|
||||
autoComplete: true,
|
||||
useBlur: true
|
||||
lightVersion: true
|
||||
},
|
||||
function syncGetCallback(result) {
|
||||
if (result.preserveLastCode && lastCode) {
|
||||
@ -2196,7 +2196,7 @@ customEditorFontInput
|
||||
prefs.editorCustomFont = result.editorCustomFont;
|
||||
prefs.autoSave = result.autoSave;
|
||||
prefs.autoComplete = result.autoComplete;
|
||||
prefs.useBlur = result.useBlur;
|
||||
prefs.lightVersion = result.lightVersion;
|
||||
|
||||
updateSettingsInUi();
|
||||
scope.updateSetting();
|
||||
|
Reference in New Issue
Block a user