新增橡皮筋. 对move 和rotate

pull/7/head
ChenX 7 years ago
parent d78fe50be6
commit 2fb22f9792

@ -41,7 +41,8 @@ export class Command_Move implements Command
pt1 = p.clone(); pt1 = p.clone();
}, },
BasePoint: pt1 BasePoint: pt1,
AllowDrawRubberBand: true
}); });
if (ptRes.Status != PromptStatus.OK) return; if (ptRes.Status != PromptStatus.OK) return;

@ -49,7 +49,8 @@ export class Command_Rotate implements Command
an = newan; an = newan;
}, },
BasePoint: pt1 BasePoint: pt1,
AllowDrawRubberBand: true
}); });
if (ptRes.Status != PromptStatus.OK) return; if (ptRes.Status != PromptStatus.OK) return;

Loading…
Cancel
Save