mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
d1d342b1c72c1dd500208098d82be18f4b23cf62
Previously, we were only updating the clip rect when params.currentRect == null, meaning the clip would be stale once the caller started providing its own rect (e.g. when swiping to home). Also fix some visual jumps when swiping home, all caused by running the transform progress from 0 to 1 instead of starting at whatever the progress was before ending the gesture, e.g.: - When swiping to home without animating into an icon, the corner radius was set back to the window corner radius. - Before this change, the clip didn't update throughout the animation, making the window slightly bigger than the floating icon view; after this change, the clip jumped to show the insets again before clipping back down during the home animation. Bug: 149870691 Change-Id: Ie48f4b665a5bf3cbef76bdf7f043febe99fb84a0
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%