mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Minor clean-up.
This commit is contained in:
parent
b1915fcb62
commit
ded73129ad
1 changed files with 2 additions and 2 deletions
|
@ -11,13 +11,13 @@ test('placedSymbol bounds', function() {
|
|||
'Path initial bounds.');
|
||||
var symbol = new Symbol(path);
|
||||
var placedSymbol = new PlacedSymbol(symbol);
|
||||
|
||||
|
||||
// These tests currently fail because we haven't implemented
|
||||
// Item#strokeBounds yet.
|
||||
compareRectangles(placedSymbol.bounds,
|
||||
new Rectangle(-50.5, -50.5, 101, 101),
|
||||
'PlacedSymbol initial bounds.');
|
||||
|
||||
|
||||
placedSymbol.scale(1, 0.5);
|
||||
compareRectangles(placedSymbol.bounds,
|
||||
{ x: -50.5, y: -25.25, width: 101, height: 50.5 },
|
||||
|
|
Loading…
Reference in a new issue