diff options
author | Aleksandr Zatsepin <alexzatsepin@users.noreply.github.com> | 2017-05-23 19:29:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-23 19:29:40 +0300 |
commit | 2522dafd3482f100a9dc0f0c6e5a53ba291426c8 (patch) | |
tree | 842a3fa8e9f5a07c9cedee342de68162c7d1f296 | |
parent | 98d137d782270e257606932b0df24b88209f03f7 (diff) | |
parent | 8e26e6dce4ee22df5dd4407b7fd95c5bba31932c (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.java | 2 |
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) |