Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Hide Subbasin Catchment Legend When Not In Subbasin Mode #3160
Hides the subbasin legend when not in subbasin mode.
Go to subbasin mode:
The legend works correctly, showing the colors for the selected layer, and remembering the selected layer correctly between catchments:
Once you exit the catchment view, the legend goes away:
If you switch scenarios, the legend goes away:
Previously the subbasin legend would remain active outside the catchment view, which was the only view representing the information that legend corresponded to. In some cases, it would stay on even after exiting the subbasin view entirely. Now it is removed from view whenever the subbasin catchment mode is inactive.