mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Reflect recent change in Item#hitTest() options.
This commit is contained in:
parent
6af797bbad
commit
93a97c7446
1 changed files with 1 additions and 1 deletions
|
@ -673,7 +673,7 @@ test('Hit testing compound-paths', function() {
|
||||||
// the center (the one that cuts out the hole)
|
// the center (the one that cuts out the hole)
|
||||||
equals(function() {
|
equals(function() {
|
||||||
var result = paper.project.hitTest(center, {
|
var result = paper.project.hitTest(center, {
|
||||||
type: Path,
|
class: Path,
|
||||||
fill: true
|
fill: true
|
||||||
});
|
});
|
||||||
return result && result.item === path2;
|
return result && result.item === path2;
|
||||||
|
|
Loading…
Reference in a new issue