diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java index b0b35d545f..44546d08a4 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java @@ -125,18 +125,14 @@ public class MapMultiSelectionMenuFragment extends Fragment implements MultiSele @Override public void onScrollChanged(int scrollY, boolean firstScroll, boolean dragging) { - if (scrollY <= minHeight) { - if (initialScroll) { - initialScroll = false; - } else { - dismissMenu(); - } + if (scrollY <= minHeight && !initialScroll) { + dismissMenu(); } } @Override public void onDownMotionEvent() { - + initialScroll = false; } @Override