Fix overlayView when scrolling

This commit is contained in:
PavelRatushny 2017-08-10 19:11:05 +03:00
parent eba9b73841
commit 8ab7f878b9
2 changed files with 2 additions and 0 deletions

View file

@ -116,6 +116,7 @@ public class TrackPointFragment extends OsmandExpandableListFragment {
public void onScrollStateChanged(AbsListView absListView, int i) {
if (i == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) {
if (menuOpened) {
hideTransparentOverlay();
closeMenu();
}
}

View file

@ -166,6 +166,7 @@ public class TrackSegmentFragment extends OsmAndListFragment {
public void onScrollStateChanged(AbsListView absListView, int i) {
if (i == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) {
if (menuOpened) {
hideTransparentOverlay();
closeMenu();
}
}