Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fd69c0d authored by Pat Manning's avatar Pat Manning
Browse files

Remove scaling from spring loaded y translation.

Fix: 239401465
Test: manual. To follow up with screenshot test: b/241386128
Change-Id: I916fcca22f5c827e1af38a50847585afcefc330d
parent d6f79830
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ public class SpringLoadedState extends LauncherState {
        float myCenter = ws.getTop() + halfHeight;
        float cellTopFromCenter = halfHeight - ws.getChildAt(0).getTop();
        float actualCellTop = myCenter - cellTopFromCenter * scale;
        return new ScaleAndTranslation(scale, 0, (shrunkTop - actualCellTop) / scale);
        return new ScaleAndTranslation(scale, 0, shrunkTop - actualCellTop);
    }

    @Override