mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
Path_Bounds.js test: remove unnecessary code.
This commit is contained in:
parent
6afba408c5
commit
72a3dfa572
1 changed files with 0 additions and 2 deletions
|
@ -41,7 +41,5 @@ test('path.strokeBounds on path without stroke', function() {
|
||||||
new Segment(new Point(248, 320), new Point(-42, -74), new Point(42, 74)),
|
new Segment(new Point(248, 320), new Point(-42, -74), new Point(42, 74)),
|
||||||
new Segment(new Point(205, 420.94482421875), new Point(66.7890625, -12.72802734375), new Point(-79, 15.05517578125))
|
new Segment(new Point(205, 420.94482421875), new Point(66.7890625, -12.72802734375), new Point(-79, 15.05517578125))
|
||||||
]);
|
]);
|
||||||
// Test both closed and open paths, as the bounds for them differ
|
|
||||||
path.closed = false;
|
|
||||||
compareRectangles(path.strokeBounds, { x: 121, y: 275.06796, width: 149.49304, height: 145.87686 });
|
compareRectangles(path.strokeBounds, { x: 121, y: 275.06796, width: 149.49304, height: 145.87686 });
|
||||||
});
|
});
|
Loading…
Reference in a new issue