[android] Fix navigation buttons bottom limit calculation

This commit is contained in:
Roman Romanov 2017-05-22 09:03:01 +04:00
parent ce6c36b209
commit a4ca8c639d

View file

@ -1629,7 +1629,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)