Don't highlight browser when using rae coords since dragging is not working in that mode currently

This commit is contained in:
sylvass
2022-02-10 07:22:59 -05:00
parent a88246c56b
commit ffee7e6f5c

View File

@@ -445,7 +445,8 @@ void SkyBrowserModule::setSelectedObject()
// Find and save what mouse is currently hovering on
auto it = std::find_if(std::begin(_targetsBrowsers), std::end(_targetsBrowsers),
[&] (const std::unique_ptr<TargetBrowserPair> &pair) {
return pair->checkMouseIntersection(_mousePosition);
return pair->checkMouseIntersection(_mousePosition) &&
!pair->isUsingRadiusAzimuthElevation();
});
if (it == std::end(_targetsBrowsers)) {