|
@@ -139,14 +139,14 @@ export default class Draw {
|
|
|
const ctx = this.context;
|
|
|
const start = coordinate.getScreenXY(lan.start)
|
|
|
const end = coordinate.getScreenXY(lan.end)
|
|
|
- console.log(start, end)
|
|
|
ctx.save();
|
|
|
+ ctx.beginPath();
|
|
|
help.setVectorStyle(ctx, null, "Lane");
|
|
|
ctx.setLineDash(Style.Lane.dash);
|
|
|
ctx.moveTo(start.x, start.y)
|
|
|
ctx.lineTo(end.x, end.y)
|
|
|
ctx.stroke();
|
|
|
- ctx.restore()
|
|
|
+ ctx.restore();
|
|
|
}
|
|
|
|
|
|
drawEdge(vector, isTemp) {
|