mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Let's not go too far with optimizations.
This commit is contained in:
parent
bd42ded79b
commit
f2bb5d07df
1 changed files with 4 additions and 4 deletions
|
@ -275,10 +275,10 @@ new function() {
|
|||
var first = segments[0]._point,
|
||||
last = segments[segments.length - 1]._point;
|
||||
attrs = {
|
||||
x1: first._x,
|
||||
y1: first._y,
|
||||
x2: last._x,
|
||||
y2: last._y
|
||||
x1: first.x,
|
||||
y1: first.y,
|
||||
x2: last.x,
|
||||
y2: last.y
|
||||
};
|
||||
break;
|
||||
case 'circle':
|
||||
|
|
Loading…
Reference in a new issue