add event-insensitivity to the list of conditions that causes a container to NOT add its children to the list of items-at-point
This commit is contained in:
parent
7b8fd17719
commit
79b9a044b8
@ -960,12 +960,13 @@ Item::add_items_at_point (Duple const point, vector<Item const *>& items) const
|
||||
}
|
||||
|
||||
/* recurse and add any items within our group that contain point.
|
||||
Our children are only considered visible if we are
|
||||
Our children are only considered visible if we are, and similarly
|
||||
only if we do not ignore events.
|
||||
*/
|
||||
|
||||
vector<Item*> our_items;
|
||||
|
||||
if (!_items.empty() && visible()) {
|
||||
if (!_items.empty() && visible() && !_ignore_events) {
|
||||
ensure_lut ();
|
||||
our_items = _lut->items_at_point (point);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user