Reflect recent change in Item#hitTest() options.

This commit is contained in:
Jürg Lehni 2014-04-13 18:12:40 +02:00
parent 6af797bbad
commit 93a97c7446

View file

@ -673,7 +673,7 @@ test('Hit testing compound-paths', function() {
// the center (the one that cuts out the hole)
equals(function() {
var result = paper.project.hitTest(center, {
type: Path,
class: Path,
fill: true
});
return result && result.item === path2;