UI:F1面板:重置快捷键

pull/1482/head
ChenX 3 years ago
parent 7eb49401cb
commit 616b11c8eb

@ -206,5 +206,6 @@ export enum CommandNames
KeFanZuan = "KEFANZUAN",
ShowHSPanel = "SHOWHIDESELECT",
ParseBoardName = "PARSEBOARDNAME",
SetBRXAxis = "SetBRXAxis"
SetBRXAxis = "SetBRXAxis",
ResetCustomCommand = "ResetCustomCommand",//重置快捷键列表
}

@ -586,7 +586,7 @@ export function registerCommand()
//迁移自定义命令数据
commandMachine.RegisterCommand("upgradedata", new UpgradeData());
commandMachine.RegisterCommand("ResetCustomCommand", new Command_ResetCustomCommand());
commandMachine.RegisterCommand(CommandNames.ResetCustomCommand, new Command_ResetCustomCommand());
commandMachine.RegisterCommand(CommandNames.Dist, new Command_Dist());

@ -1586,6 +1586,15 @@ export const CommandList: ICommand[] = [
chName: "显示隐藏功能",
chDes: "显示隐藏功能",
},
{
typeId: "util",
link: "#",
defaultCustom: CommandNames.ResetCustomCommand,
command: CommandNames.ResetCustomCommand,
type: "工具",
chName: "重置快捷键",
chDes: "重置快捷键",
},
//#endregion
//#region 文件命令

Loading…
Cancel
Save