Fix overlayView when scrolling
This commit is contained in:
parent
eba9b73841
commit
8ab7f878b9
2 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue