修正标注错误

pull/198/MERGE
ChenX 6 years ago
parent 723576e55f
commit c1f2bb98a4

@ -18,6 +18,7 @@ export class DimContinue
let newDim = this.CloneDimension(this.m_LastDim);
JigUtils.Draw(newDim);
let ptRes = await app.m_Editor.GetPoint({
AllowNone: true,
BasePoint: this.m_BasePoint,
Msg: "指定第二个尺寸原点",
Callback: p => this.UpdateNextPoint(p, newDim)

@ -50,7 +50,7 @@ export class DrawAlignedDimension implements Command
Msg: "选择对象",
Filter: { filterTypes: [Curve] }
});
if (enRes.Status === PromptStatus.Cancel)
if (enRes.Status !== PromptStatus.OK)
return;
let en = enRes.Entity as Curve;

Loading…
Cancel
Save