- Linting (ESLint): As per latest ash-nazg

This commit is contained in:
Brett Zamir
2020-03-27 20:39:51 +08:00
parent 1f1452f4fa
commit 7914f26e02
20 changed files with 113 additions and 101 deletions

View File

@@ -2003,7 +2003,7 @@ export const pathActions = (function () {
let curPt;
if (id.substr(0, 14) === 'pathpointgrip_') {
// Select this point
curPt = path.cur_pt = parseInt(id.substr(14));
curPt = path.cur_pt = Number.parseInt(id.substr(14));
path.dragging = [startX, startY];
const seg = path.segs[curPt];