This commit is contained in:
Alexander Sytnyk 2017-10-20 12:03:32 +03:00
parent fbfa3fb704
commit 0405631a16

View file

@ -72,7 +72,11 @@ public class MapMarkerSelectionFragment extends BaseOsmAndDialogFragment {
LatLon myLoc = l == null ? null : new LatLon(l.getLatitude(), l.getLongitude()); LatLon myLoc = l == null ? null : new LatLon(l.getLatitude(), l.getLongitude());
useCenter = !mapLinked; useCenter = !mapLinked;
loc = (useCenter ? mw : myLoc); loc = (useCenter ? mw : myLoc);
heading = useCenter ? -mapRotation : head; if (useCenter) {
heading = -mapRotation;
} else {
heading = head;
}
} }
} }
nightMode = !app.getSettings().isLightContent(); nightMode = !app.getSettings().isLightContent();