Fix download map selection
This commit is contained in:
parent
ea7641f7cc
commit
201c484c79
1 changed files with 2 additions and 2 deletions
|
@ -192,12 +192,12 @@ public class DownloadedRegionsLayer extends OsmandMapLayer implements IContextMe
|
|||
}
|
||||
|
||||
if (zoom >= ZOOM_TO_SHOW_BORDERS_ST && zoom < ZOOM_TO_SHOW_BORDERS) {
|
||||
downloadingObjects.removeAll(selectedObjects);
|
||||
removeObjectsFromList(downloadingObjects, selectedObjects);
|
||||
if (downloadingObjects.size() > 0) {
|
||||
removeObjectsFromList(currentObjects, downloadingObjects);
|
||||
drawBorders(canvas, tileBox, downloadingObjects, pathDownloading, paintDownloading);
|
||||
}
|
||||
outdatedObjects.removeAll(selectedObjects);
|
||||
removeObjectsFromList(outdatedObjects, selectedObjects);
|
||||
if (outdatedObjects.size() > 0) {
|
||||
removeObjectsFromList(currentObjects, outdatedObjects);
|
||||
drawBorders(canvas, tileBox, outdatedObjects, pathOutdated, paintOutdated);
|
||||
|
|
Loading…
Reference in a new issue