Browse Source

don't create a double clone in point

pull/1251/head
Glandos 2 years ago
parent
commit
ca975b6c6a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/types/Point.js

+ 1
- 1
src/types/Point.js View File

@@ -54,5 +54,5 @@ export default class Point {
}

export function point (x, y) {
return new Point(x, y).transform(this.screenCTM().inverse())
return new Point(x, y).transform0(this.screenCTM().inverse())
}

Loading…
Cancel
Save