feat: 背景虚化自动设置

This commit is contained in:
unanmed 2024-03-12 21:03:53 +08:00
parent c05f7cd1fd
commit 79cd82ee84
2 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
},
"firstData": {
"title": "魔塔样板",
"name": "templateV2A",
"name": "template",
"author": "Annoymous",
"version": "Ver 2.A",
"floorId": "sample0",

View File

@ -431,7 +431,7 @@ mainSetting
.register('criticalGem', '临界显示方式', false, COM.Boolean)
.setDisplayFunc('criticalGem', value => (value ? '宝石数' : '攻击'))
.register('keyScale', '虚拟键盘缩放', 100, COM.Number, [25, 5, 500])
.register('blur', '背景虚化', true, COM.Boolean)
.register('blur', '背景虚化', !isMobile, COM.Boolean)
)
.register(
'action',
@ -489,7 +489,7 @@ loading.once('coreInit', () => {
'screen.fontSizeStatus': storage.getValue('screen.fontSizeStatus', 100),
'screen.smoothView': !!storage.getValue('screen.smoothView', true),
'screen.criticalGem': !!storage.getValue('screen.criticalGem', false),
'screen.blur': !!storage.getValue('screen.blur', true),
'screen.blur': !!storage.getValue('screen.blur', !isMobile),
'action.fixed': !!storage.getValue('action.fixed', true),
'audio.bgmEnabled': !!storage.getValue('audio.bgmEnabled', true),
'audio.bgmVolume': storage.getValue('audio.bgmVolume', 80),