Fixing weird fab behavior on quickly jittering the main screen
This commit is contained in:
parent
45832355a3
commit
a3ee174d66
|
@ -286,6 +286,9 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
|
|||
currentPhotoViewer.offsetView(-dx, -dy);
|
||||
|
||||
if (fab!=null && GlobalUserPreferences.enableFabAutoHide) {
|
||||
if(dy > 0){
|
||||
scrollDiff = 0;
|
||||
}
|
||||
if (dy > 0 && fab.getVisibility() == View.VISIBLE) {
|
||||
TranslateAnimation animate = new TranslateAnimation(
|
||||
0,
|
||||
|
|
Loading…
Reference in New Issue