mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Updating the swipe-to-dismiss animation
Swipe to dismiss animates the page translation so that the final position at the endof swipe is same as the final position on removing the task view. Change-Id: I393acd5ae75cd94797bb4f1aa3dd3ec9017cbb47
This commit is contained in:
@@ -57,10 +57,7 @@ public class RecentsViewStateController implements StateHandler {
|
||||
setVisibility(state.overviewUi);
|
||||
setTransitionProgress(state.overviewUi ? 1 : 0);
|
||||
if (state.overviewUi) {
|
||||
for (int i = 0; i < mRecentsView.getPageCount(); i++) {
|
||||
((TaskView) mRecentsView.getPageAt(i)).resetVisualProperties();
|
||||
}
|
||||
mRecentsView.updateCurveProperties();
|
||||
mRecentsView.resetTaskVisuals();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user