We properly toggle the visibility of icons via ToggleVisibility.
The only exception is subarea markers as these have very odd behavior when enabling/disabling visibility via ToggleVisibility.
For the aforementioned markers we just use the current behavior of modifying the alpha value instead of toggling the visibility.
This PR implements the suggested solution in #19
We properly toggle the visibility of icons via
ToggleVisibility
. The only exception issubarea markers
as these have very odd behavior when enabling/disabling visibility viaToggleVisibility
. For the aforementioned markers we just use the current behavior of modifying the alpha value instead of toggling the visibility.