Fix menu drag under toolbar

This commit is contained in:
Vitaliy 2021-01-28 16:06:10 +02:00
parent 2bd2839f49
commit 593657475a

View file

@ -193,6 +193,10 @@ public class TrackMenuFragment extends ContextMenuScrollFragment implements Card
return 0.5f;
}
public int getMinY() {
return getFullScreenTopPosY();
}
@Override
public int getSupportedMenuStatesPortrait() {
return MenuState.HEADER_ONLY | MenuState.HALF_SCREEN | MenuState.FULL_SCREEN;