mirror of https://github.com/NekoX-Dev/NekoX.git
Fix for sending wrong location
This commit is contained in:
parent
83440a5cb1
commit
222d194b8c
|
@ -1467,7 +1467,7 @@ public class ChatAttachAlertLocationLayout extends ChatAttachAlert.AttachAlertLa
|
||||||
mapTypeButton.setTranslationY(translationY);
|
mapTypeButton.setTranslationY(translationY);
|
||||||
searchAreaButton.setTranslation(translationY);
|
searchAreaButton.setTranslation(translationY);
|
||||||
locationButton.setTranslationY(-clipSize);
|
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) {
|
if (prevClipSize != clipSize) {
|
||||||
GeoPoint location;
|
GeoPoint location;
|
||||||
if (lastPressedMarker != null) {
|
if (lastPressedMarker != null) {
|
||||||
|
@ -1734,4 +1734,4 @@ public class ChatAttachAlertLocationLayout extends ChatAttachAlert.AttachAlertLa
|
||||||
|
|
||||||
return themeDescriptions;
|
return themeDescriptions;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue