Fix #7280
This commit is contained in:
parent
c4a4446d05
commit
1d241433c2
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,6 @@ public class RulerControlLayer extends OsmandMapLayer {
|
|||
cacheTileX = tb.getCenterTileX();
|
||||
cacheTileY = tb.getCenterTileY();
|
||||
cacheMapDensity = mapDensity.get();
|
||||
cacheDistances.clear();
|
||||
updateDistance(tb);
|
||||
}
|
||||
}
|
||||
|
@ -484,6 +483,7 @@ public class RulerControlLayer extends OsmandMapLayer {
|
|||
}
|
||||
|
||||
private void updateText() {
|
||||
cacheDistances.clear();
|
||||
double maxCircleRadius = maxRadius;
|
||||
int i = 1;
|
||||
while ((maxCircleRadius -= radius) > 0) {
|
||||
|
|
Loading…
Reference in a new issue