fix:自动放缩设置的说明
This commit is contained in:
parent
b46d0dcb07
commit
7b9f5b29aa
@ -4187,20 +4187,26 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
)],
|
)],
|
||||||
['zoomIn', new Setting(
|
['zoomIn', new Setting(
|
||||||
() => ' < 放缩:' + Math.max(core.domStyle.scale, 1) + 'x',
|
() => ' < 放缩:' + Math.max(core.domStyle.scale, 1) + 'x',
|
||||||
() => core.actions._clickSwitchs_display_setSize(-1),
|
() => {
|
||||||
|
core.actions._clickSwitchs_display_setSize(-1);
|
||||||
|
core.plugin.settingMenu.drawContent();
|
||||||
|
},
|
||||||
'放缩。',
|
'放缩。',
|
||||||
false, // 录像中不可录入任何DOM操作
|
false, // 录像中不可录入任何DOM操作
|
||||||
)],
|
)],
|
||||||
['zoomOut', new Setting(
|
['zoomOut', new Setting(
|
||||||
() => ' > ',
|
() => ' > ',
|
||||||
() => core.actions._clickSwitchs_display_setSize(1),
|
() => {
|
||||||
|
core.actions._clickSwitchs_display_setSize(1);
|
||||||
|
core.plugin.settingMenu.drawContent();
|
||||||
|
},
|
||||||
'放缩。',
|
'放缩。',
|
||||||
false,
|
false,
|
||||||
)],
|
)],
|
||||||
['HDCanvas', new Setting(
|
['HDCanvas', new Setting(
|
||||||
() => '高清画面:' + (core.flags.enableHDCanvas ? '开' : '关'),
|
() => '高清画面:' + (core.flags.enableHDCanvas ? '开' : '关'),
|
||||||
core.actions._clickSwitchs_display_enableHDCanvas,
|
core.actions._clickSwitchs_display_enableHDCanvas,
|
||||||
'高清画面',
|
'高清画面。本功能开关后刷新游戏才能看到效果。',
|
||||||
false,
|
false,
|
||||||
)],
|
)],
|
||||||
['enableEnemyPoint', new Setting(
|
['enableEnemyPoint', new Setting(
|
||||||
@ -4235,7 +4241,10 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
)],
|
)],
|
||||||
['autoScale', new Setting(
|
['autoScale', new Setting(
|
||||||
() => '自动放缩:' + (core.getLocalStorage('autoScale') ? '开' : '关'),
|
() => '自动放缩:' + (core.getLocalStorage('autoScale') ? '开' : '关'),
|
||||||
() => core.setLocalStorage('autoScale', core.getLocalStorage('autoScale') ? false : true),
|
() => {
|
||||||
|
core.setLocalStorage('autoScale', core.getLocalStorage('autoScale') ? false : true);
|
||||||
|
core.plugin.settingMenu.drawContent();
|
||||||
|
},
|
||||||
'自动放缩。',
|
'自动放缩。',
|
||||||
false,
|
false,
|
||||||
)],
|
)],
|
||||||
@ -4907,7 +4916,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
['2,7', new SettingButton(140, 350, 25, 25, 'increaseVolume')],
|
['2,7', new SettingButton(140, 350, 25, 25, 'increaseVolume')],
|
||||||
|
|
||||||
['2,1', new SettingButton(220, 180, 25, 25, 'zoomIn')],
|
['2,1', new SettingButton(220, 180, 25, 25, 'zoomIn')],
|
||||||
['3,1', new SettingButton(320, 180, 25, 25, 'zoomOut')],
|
['3,1', new SettingButton(330, 180, 25, 25, 'zoomOut')],
|
||||||
['2,2', new SettingButton(220, 205, 150, 25, 'autoScale')],
|
['2,2', new SettingButton(220, 205, 150, 25, 'autoScale')],
|
||||||
['2,3', new SettingButton(220, 230, 150, 25, 'enableEnemyPoint')],
|
['2,3', new SettingButton(220, 230, 150, 25, 'enableEnemyPoint')],
|
||||||
['2,4', new SettingButton(220, 255, 150, 25, 'displayCritical')],
|
['2,4', new SettingButton(220, 255, 150, 25, 'displayCritical')],
|
||||||
@ -4959,6 +4968,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
[2, keyBtn], [3, consoleBtn],
|
[2, keyBtn], [3, consoleBtn],
|
||||||
['quit', quit]]);
|
['quit', quit]]);
|
||||||
|
|
||||||
|
// 放缩时重绘整个大menu
|
||||||
|
core.plugin.settingMenu = settingMenu;
|
||||||
// 设置初始时选中的按键为第一个按键
|
// 设置初始时选中的按键为第一个按键
|
||||||
settingMenu.changeBtn(gamePlayBtn);
|
settingMenu.changeBtn(gamePlayBtn);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user