|
|
|
@ -17,8 +17,10 @@ const KeyWordCommandMap: Map<string, string> = new Map(Object.entries({
|
|
|
|
|
"1": "HS",
|
|
|
|
|
"2": "HUS",
|
|
|
|
|
"3": "SHOW",
|
|
|
|
|
"4": "JD",
|
|
|
|
|
"5": "SD",
|
|
|
|
|
"4": "SHOWDOORS",
|
|
|
|
|
"5": "HIDEDOORS",
|
|
|
|
|
"6": "JD",
|
|
|
|
|
"7": "SD",
|
|
|
|
|
"R": "REDO",
|
|
|
|
|
"U": "U",
|
|
|
|
|
|
|
|
|
@ -151,8 +153,8 @@ export class ContextMenuServices implements EditorService
|
|
|
|
|
{
|
|
|
|
|
if (selects[0] instanceof Board)
|
|
|
|
|
menuKeywords.push(...[
|
|
|
|
|
{ key: "4", msg: `加点` },
|
|
|
|
|
{ key: "5", msg: `删点` },
|
|
|
|
|
{ key: "6", msg: `加点` },
|
|
|
|
|
{ key: "7", msg: `删点` },
|
|
|
|
|
]);
|
|
|
|
|
if (selects[0].Template && selects[0].Template.Object)
|
|
|
|
|
{
|
|
|
|
@ -184,7 +186,10 @@ export class ContextMenuServices implements EditorService
|
|
|
|
|
children:
|
|
|
|
|
[{ key: "1", msg: `隐藏选中` },
|
|
|
|
|
{ key: "2", msg: `隐藏未选中` },
|
|
|
|
|
{ key: "3", msg: `显示所有` },]
|
|
|
|
|
{ key: "3", msg: `显示所有` },
|
|
|
|
|
{ key: "4", msg: `显示门板` },
|
|
|
|
|
{ key: "5", msg: `隐藏门板` },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{ key: "U", msg: `放弃`, disable: lastCmd === "help" },
|
|
|
|
|
{ key: "R", msg: `重做`, disable: lastCmd === "help" },
|
|
|
|
|