mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Fixed corner radius during app launch
Change-Id: I9490bc359b93f9ca8b7c1dad2d93e90d0fba5ac8 Fixes: 122554807 Test: visual
This commit is contained in:
@@ -612,14 +612,10 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
|
||||
float transX0 = floatingViewBounds[0] - offsetX;
|
||||
float transY0 = floatingViewBounds[1] - offsetY;
|
||||
|
||||
// Animate window corner radius from 100% to windowCornerRadius.
|
||||
float windowCornerRadius = RecentsModel.INSTANCE.get(mLauncher)
|
||||
.getWindowCornerRadius();
|
||||
float windowRadius = 0;
|
||||
if (RecentsModel.INSTANCE.get(mLauncher).supportsRoundedCornersOnWindows()) {
|
||||
float circleRadius = iconWidth / 2f;
|
||||
windowRadius = Utilities.mapRange(easePercent, circleRadius,
|
||||
windowCornerRadius);
|
||||
windowRadius = RecentsModel.INSTANCE.get(mLauncher)
|
||||
.getWindowCornerRadius();
|
||||
}
|
||||
|
||||
// Animate the window crop so that it starts off as a square, and then reveals
|
||||
|
||||
Reference in New Issue
Block a user