mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Remove obsolete comment.
This commit is contained in:
parent
164c08a972
commit
f803e1ad1d
2 changed files with 1 additions and 11 deletions
|
@ -101,16 +101,6 @@ var Segment = this.Segment = Base.extend({
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
|
|
||||||
// TODO:
|
|
||||||
// getCurve: function() {
|
|
||||||
// if (this._segments && this._segments.path) {
|
|
||||||
// var curves = this._segments.path.getCurves();
|
|
||||||
// // The curves list handles closing curves, so the curves.size
|
|
||||||
// // is adjusted accordingly. just check to be in the boundaries here:
|
|
||||||
// return index < curves.length ? curves[index] : null;
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
|
|
||||||
getNext: function() {
|
getNext: function() {
|
||||||
return this._path && this._path._segments[this.getIndex() + 1] || null;
|
return this._path && this._path._segments[this.getIndex() + 1] || null;
|
||||||
},
|
},
|
||||||
|
|
|
@ -27,4 +27,4 @@ test('placedSymbol bounds', function() {
|
||||||
compareRectangles(placedSymbol.bounds,
|
compareRectangles(placedSymbol.bounds,
|
||||||
{ x: -25.50049, y: -25.50049, width: 51.00098, height: 51.00098 },
|
{ x: -25.50049, y: -25.50049, width: 51.00098, height: 51.00098 },
|
||||||
'Bounds after rotation.');
|
'Bounds after rotation.');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue