mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev
This commit is contained in:
@@ -642,7 +642,7 @@ public class TaskbarLauncherStateController {
|
||||
long resetDuration = mControllers.taskbarStashController.isInApp()
|
||||
? duration
|
||||
: duration / 2;
|
||||
if (!mControllers.taskbarTranslationController.willAnimateToZeroBefore(resetDuration)
|
||||
if (mControllers.taskbarTranslationController.shouldResetBackToZero(resetDuration)
|
||||
&& (isAnimatingToLauncher() || mLauncherState == LauncherState.NORMAL)) {
|
||||
animatorSet.play(mControllers.taskbarTranslationController
|
||||
.createAnimToResetTranslation(resetDuration));
|
||||
|
||||
Reference in New Issue
Block a user