mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Don't highlight browser when using rae coords since dragging is not working in that mode currently
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user