small fix
This commit is contained in:
parent
98759b9221
commit
9b83c6f35b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue