Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Zatsepin <alexzatsepin@users.noreply.github.com>2017-05-25 16:12:12 +0300
committerGitHub <noreply@github.com>2017-05-25 16:12:12 +0300
commit62321c2c51b6cbb677278a6a68d15c73ae3f086e (patch)
tree74b7ed4aa3967420f8d4f504cc31e4015f6e474e
parent27a5f901f6e8c57d7f66809297d0a69211fe9c5d (diff)
parenta4ca8c639d152801491a381e60ae3422b1524994 (diff)
Merge pull request #6103 from goblinr/MAPSME-4474-my-position-button-fix-cherry-pickbeta-827
[cherry-pick][android] Fix navigation buttons bottom limit calculation
-rw-r--r--android/src/com/mapswithme/maps/MwmActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/com/mapswithme/maps/MwmActivity.java b/android/src/com/mapswithme/maps/MwmActivity.java
index 25c399218b..6b1fab373f 100644
--- a/android/src/com/mapswithme/maps/MwmActivity.java
+++ b/android/src/com/mapswithme/maps/MwmActivity.java
@@ -1628,7 +1628,7 @@ public class MwmActivity extends BaseMwmFragmentActivity
{
if (mNavAnimationController != null && !mIsFragmentContainer)
{
- mNavAnimationController.setBottomLimit(show ? 0 : getCurrentMenu().getFrame().getHeight());
+ mNavAnimationController.setBottomLimit(!show ? 0 : getCurrentMenu().getFrame().getHeight());
mNavAnimationController.slide(show, getCurrentMenu().getFrame().getHeight());
}
if (show)