mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
invisible items/containers should not add their children to "items-at-point"
This commit is contained in:
parent
861a22db4c
commit
74a5737b7c
1 changed files with 4 additions and 2 deletions
|
|
@ -959,11 +959,13 @@ Item::add_items_at_point (Duple const point, vector<Item const *>& items) const
|
|||
return;
|
||||
}
|
||||
|
||||
/* recurse and add any items within our group that contain point */
|
||||
/* recurse and add any items within our group that contain point.
|
||||
Our children are only considered visible if we are
|
||||
*/
|
||||
|
||||
vector<Item*> our_items;
|
||||
|
||||
if (!_items.empty()) {
|
||||
if (!_items.empty() && visible()) {
|
||||
ensure_lut ();
|
||||
our_items = _lut->items_at_point (point);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue