mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix a bug in CompoundPath#hitTest().
Results from Path#hitTest() were not passed through.
This commit is contained in:
parent
17b81f5f67
commit
0a81787c7e
1 changed files with 2 additions and 2 deletions
|
@ -152,9 +152,9 @@ var CompoundPath = this.CompoundPath = PathItem.extend(/** @lends CompoundPath#
|
|||
|
||||
_hitTest: function(point, options) {
|
||||
return this.base(point, Base.merge(options, { fill: false }))
|
||||
|| options.fill && this._style._fillColor && this.contains(point)
|
||||
|| (options.fill && this._style._fillColor && this.contains(point)
|
||||
? new HitResult('fill', this)
|
||||
: null;
|
||||
: null);
|
||||
},
|
||||
|
||||
draw: function(ctx, param) {
|
||||
|
|
Loading…
Reference in a new issue