Fix for sending wrong location

(cherry picked from commit 222d194b8c)
This commit is contained in:
Ruslan Boitsov 2020-05-02 11:27:42 +02:00 committed by 世界
parent f95784c0a6
commit 3949904943
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
1 changed files with 1 additions and 1 deletions

View File

@ -1467,7 +1467,7 @@ public class ChatAttachAlertLocationLayout extends ChatAttachAlert.AttachAlertLa
mapTypeButton.setTranslationY(translationY);
searchAreaButton.setTranslation(translationY);
locationButton.setTranslationY(-clipSize);
markerImageView.setTranslationY(markerTop = (mapHeight - clipSize) / 2 - AndroidUtilities.dp(48) + trY);
markerImageView.setTranslationY(markerTop = (mapHeight) / 2 - AndroidUtilities.dp(48) + trY);
if (prevClipSize != clipSize) {
GeoPoint location;
if (lastPressedMarker != null) {