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-23 19:29:40 +0300
committerGitHub <noreply@github.com>2017-05-23 19:29:40 +0300
commit2522dafd3482f100a9dc0f0c6e5a53ba291426c8 (patch)
tree842a3fa8e9f5a07c9cedee342de68162c7d1f296
parent98d137d782270e257606932b0df24b88209f03f7 (diff)
parent8e26e6dce4ee22df5dd4407b7fd95c5bba31932c (diff)
Merge pull request #6096 from goblinr/MAPSME-4474-my-position-button-fixbeta-822
[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 3abeaa3df1..b2a226434c 100644
--- a/android/src/com/mapswithme/maps/MwmActivity.java
+++ b/android/src/com/mapswithme/maps/MwmActivity.java
@@ -1610,7 +1610,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)