avm2: Fix hittests on depth=0 children
This commit is contained in:
parent
5b1d4d071d
commit
f1401d6837
|
@ -2491,7 +2491,7 @@ impl<'gc> TDisplayObject<'gc> for MovieClip<'gc> {
|
||||||
} else {
|
} else {
|
||||||
clip_depth = child.clip_depth();
|
clip_depth = child.clip_depth();
|
||||||
}
|
}
|
||||||
} else if child.depth() > clip_depth
|
} else if child.depth() >= clip_depth
|
||||||
&& child.hit_test_shape(context, point, options)
|
&& child.hit_test_shape(context, point, options)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue