small fix

This commit is contained in:
Skalii 2021-02-22 13:47:47 +02:00
parent 98759b9221
commit 9b83c6f35b

View file

@ -173,7 +173,7 @@ public class RadiusRulerControlLayer extends OsmandMapLayer {
}
public boolean rulerModeOn() {
return mapActivity.getMapLayers().getMapWidgetRegistry().isVisible("radius_ruler") &&
return mapActivity.getMapLayers().getMapWidgetRegistry().isVisible("ruler") &&
rightWidgetsPanel.getVisibility() == View.VISIBLE;
}