Clone
Louis Jacomet <louis@gradle.com>
committed
on 04 Dec 19
Recompute selected component when removing selector
Previously, once a component was selected, removing a selector would not
change the reso… Show more
Recompute selected component when removing selector

Previously, once a component was selected, removing a selector would not

change the resolution result, potentially keeping a selection that no

longer applied.

Now upon removal of a selector, the selected component may be updated.

In order to prevent infinite loops in some cases, the recompute on

removal only happens once per SelectorState instance.

Fixes #6567

Show less