diff --git a/src/UI/Components/CommandPanel/CommandList.ts b/src/UI/Components/CommandPanel/CommandList.ts index 9d93163f9..7a6cff94f 100644 --- a/src/UI/Components/CommandPanel/CommandList.ts +++ b/src/UI/Components/CommandPanel/CommandList.ts @@ -1559,6 +1559,17 @@ export const CommandList: ICommand[] = [ // enName: "Linear Dimension", chDes: "从上一个标注或选定标注的基线处创建线性标注、角度标注或坐标标注", }, + { + icon: IconEnum.DimLinear, + typeId: "dim", + link: `${HelpUrlBase}Mark/ContinuousLabel`, + defaultCustom: "DCO", + command: CommandNames.DimContinue, + type: "标注", + chName: "连续标注", + // enName: "Continue Dimension", + chDes: "创建从上一个标注或选定标注的尺寸界线开始的标注", + }, { icon: IconEnum.DimAngle, typeId: "dim", @@ -1571,15 +1582,14 @@ export const CommandList: ICommand[] = [ chDes: "测量选定的几何对象或 3 个点之间的角度", }, { - icon: IconEnum.DimLinear, + icon: IconEnum.DimArc, typeId: "dim", - link: `${HelpUrlBase}Mark/ContinuousLabel`, - defaultCustom: "DCO", - command: CommandNames.DimContinue, + defaultCustom: CommandNames.DimArc, + command: CommandNames.DimArc, type: "标注", - chName: "连续标注", + chName: "弧长标注", // enName: "Continue Dimension", - chDes: "创建从上一个标注或选定标注的尺寸界线开始的标注", + chDes: "标注弧长", }, { icon: IconEnum.Circle, @@ -1588,7 +1598,7 @@ export const CommandList: ICommand[] = [ defaultCustom: "DIMRAD", command: CommandNames.RadiusDim, type: "标注", - chName: "标注半径", + chName: "半径标注", // enName: "Continue Dimension", chDes: "标注半径", }, @@ -1599,30 +1609,10 @@ export const CommandList: ICommand[] = [ defaultCustom: "DIMDIA", command: CommandNames.DiaDim, type: "标注", - chName: "标注直径", + chName: "直径标注", // enName: "Continue Dimension", chDes: "标注直径", }, - { - icon: IconEnum.DimArc, - typeId: "dim", - defaultCustom: CommandNames.DimArc, - command: CommandNames.DimArc, - type: "标注", - chName: "标注弧长", - // enName: "Continue Dimension", - chDes: "标注弧长", - }, - { - icon: IconEnum.BoardInfoDim, - typeId: "dim", - defaultCustom: CommandNames.BoardInfoDim, - command: CommandNames.BoardInfoDim, - type: "标注", - chName: "标注板件", - // enName: "Continue Dimension", - chDes: "标注板件", - }, { icon: IconEnum.AutoDim, typeId: "dim", @@ -1630,7 +1620,7 @@ export const CommandList: ICommand[] = [ defaultCustom: "AUTODIMBRS", command: CommandNames.AutoDimBrs, type: "标注", - chName: "标注柜体", + chName: "柜体标注", // enName: "Cabinet Dimension", chDes: "标注柜体", }, @@ -1654,6 +1644,16 @@ export const CommandList: ICommand[] = [ chName: "断点标注", chDes: "选择标注,断点操作", }, + { + icon: IconEnum.BoardInfoDim, + typeId: "dim", + defaultCustom: CommandNames.BoardInfoDim, + command: CommandNames.BoardInfoDim, + type: "标注", + chName: "板件信息标注", + // enName: "Continue Dimension", + chDes: "标注板件信息", + }, { icon: IconEnum.DelDim, typeId: "dim", diff --git a/src/UI/Components/TopToolBar/TopToolBar.tsx b/src/UI/Components/TopToolBar/TopToolBar.tsx index cad87dc99..74a1968a8 100644 --- a/src/UI/Components/TopToolBar/TopToolBar.tsx +++ b/src/UI/Components/TopToolBar/TopToolBar.tsx @@ -111,8 +111,8 @@ export class TopToolBar extends React.Component<{}, {}> store.iconList.dim = [ { svg: IconEnum.DAL, title: "对齐标注", command: CommandNames.AlignDim }, { svg: IconEnum.DimContinued, title: "线性标注", command: CommandNames.LinearDim }, - { svg: IconEnum.DimAngle, title: "角度标注", command: CommandNames.AngleDim }, { svg: IconEnum.DimLinear, title: "连续标注", command: CommandNames.DimContinue }, + { svg: IconEnum.DimAngle, title: "角度标注", command: CommandNames.AngleDim }, { svg: IconEnum.DimArc, title: "弧长标注", command: CommandNames.DimArc }, { svg: IconEnum.Circle, title: "半径标注", command: CommandNames.RadiusDim }, { svg: IconEnum.Diameter, title: "直径标注", command: CommandNames.DiaDim },