fix linting in mirror plugin and tests
This commit is contained in:
parent
b6d7c78bab
commit
cc8a82e2e8
2 changed files with 5 additions and 7 deletions
|
@ -86,12 +86,10 @@ export default {
|
|||
}
|
||||
if (clone) {
|
||||
point = point.clone()
|
||||
if (clone) {
|
||||
if (foundId === null && typeof nameFormat == 'function') {
|
||||
this.points[nameFormat(point)] = point
|
||||
} else {
|
||||
this.points[`${prefix}${capFirst(foundId)}`] = point
|
||||
}
|
||||
if (foundId === null && typeof nameFormat == 'function') {
|
||||
this.points[nameFormat(point)] = point
|
||||
} else {
|
||||
this.points[`${prefix}${capFirst(foundId)}`] = point
|
||||
}
|
||||
}
|
||||
;[point.x, point.y] = mirrorPoint(point)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue