Fix context menu
This commit is contained in:
parent
72e1dc6b1a
commit
45e4083611
1 changed files with 3 additions and 3 deletions
|
@ -688,9 +688,6 @@ public class MapContextMenuFragment extends Fragment implements DownloadEvents {
|
|||
if (menu.displayDistanceDirection()) {
|
||||
getMapActivity().getMapViewTrackingUtilities().setContextMenu(menu);
|
||||
}
|
||||
if (centered) {
|
||||
centerMarkerLocation();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -765,6 +762,9 @@ public class MapContextMenuFragment extends Fragment implements DownloadEvents {
|
|||
origMarkerY = view.getHeight() / 2;
|
||||
}
|
||||
|
||||
if (initLayout && centered) {
|
||||
centerMarkerLocation();
|
||||
}
|
||||
if (!moving) {
|
||||
doLayoutMenu();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue