- Linting (ESLint): Apply coding standards

- Testing (Refactoring): Abstract out to helper file functions for approving local storage and opening the main menu
- Docs (CHANGES): Update
- npm: Update devDeps; update nested deps for security audit
This commit is contained in:
Brett Zamir
2019-03-16 12:30:23 +08:00
parent 5691b7b1e7
commit dade2a7b37
28 changed files with 521 additions and 537 deletions

View File

@@ -785,7 +785,12 @@ export class Segment {
]
: [item.x += dx, item.y += dy];
replacePathSeg(this.type, this.index, this.type === 10 ? ptObjToArr(this.type, item) : curPts); //type 10 means ARC
replacePathSeg(
this.type,
this.index,
// type 10 means ARC
this.type === 10 ? ptObjToArr(this.type, item) : curPts
);
if (this.next && this.next.ctrlpts) {
const next = this.next.item;