mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Update start radius for reveal animation to match spec.
Bug: 273961611 Change-Id: I3330b8b2ec47d7e9608b900a859d2a865f92a994 Flag: ENABLE_TRANSIENT_TASKBAR Test: stash/unstash
This commit is contained in:
@@ -335,8 +335,8 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
|
||||
}
|
||||
|
||||
Rect stashedRect = new Rect(left, top, right, bottom);
|
||||
float radius = 0;
|
||||
float stashedRadius = stashedRect.width() / 2f;
|
||||
float radius = viewBounds.height() / 2f;
|
||||
float stashedRadius = stashedRect.height() / 2f;
|
||||
|
||||
return new RoundedRectRevealOutlineProvider(radius, stashedRadius, viewBounds, stashedRect)
|
||||
.createRevealAnimator(view, !isStashed, 0);
|
||||
|
||||
Reference in New Issue
Block a user