mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Fix comment.
This commit is contained in:
parent
e6ef5e7e17
commit
cc201655af
1 changed files with 2 additions and 2 deletions
|
@ -226,9 +226,9 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
||||||
// options.compoundChildren allows to specifically do so, see below.
|
// options.compoundChildren allows to specifically do so, see below.
|
||||||
var res = _hitTest.base.call(this, point,
|
var res = _hitTest.base.call(this, point,
|
||||||
Base.merge(options, { fill: false }));
|
Base.merge(options, { fill: false }));
|
||||||
// If asked to query all children seperately, perform the same loop as
|
|
||||||
// Item#hitTest() now on the compound children.
|
|
||||||
if (!res) {
|
if (!res) {
|
||||||
|
// If asked to query all children seperately, perform the same loop
|
||||||
|
// as Item#hitTest() now on the compound children.
|
||||||
if (options.compoundChildren) {
|
if (options.compoundChildren) {
|
||||||
var children = this._children;
|
var children = this._children;
|
||||||
for (var i = children.length - 1; i >= 0 && !res; i--)
|
for (var i = children.length - 1; i >= 0 && !res; i--)
|
||||||
|
|
Loading…
Reference in a new issue