mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Merge branch 'master' of github.com:scriptographer/paper.js
This commit is contained in:
commit
e2b7d4c924
1 changed files with 9 additions and 0 deletions
|
@ -129,6 +129,15 @@ test('After setting Path#fullySelected=true on an empty path, subsequent segment
|
||||||
}, true);
|
}, true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('After selecting a segment, Path#selected should return true', function() {
|
||||||
|
var path = new Path();
|
||||||
|
path.add([10, 10]);
|
||||||
|
path.firstSegment.selected = true;
|
||||||
|
equals(function() {
|
||||||
|
return path.selected;
|
||||||
|
}, true);
|
||||||
|
});
|
||||||
|
|
||||||
test('Path#reverse', function() {
|
test('Path#reverse', function() {
|
||||||
var path = new Path.Circle([100, 100], 30);
|
var path = new Path.Circle([100, 100], 30);
|
||||||
path.reverse();
|
path.reverse();
|
||||||
|
|
Loading…
Reference in a new issue