mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Item test: initialize paths with segments, so they can be selected.
This commit is contained in:
parent
c9898ef3b0
commit
c1ec991aee
1 changed files with 2 additions and 2 deletions
|
@ -166,8 +166,8 @@ test('Check item#document when moving items across documents', function() {
|
|||
|
||||
test('group.selected', function() {
|
||||
var doc = new Document();
|
||||
var path = new Path();
|
||||
var path2 = new Path();
|
||||
var path = new Path([0, 0]);
|
||||
var path2 = new Path([0, 0]);
|
||||
var group = new Group([path, path2]);
|
||||
path.selected = true;
|
||||
equals(group.selected, true);
|
||||
|
|
Loading…
Reference in a new issue