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

Commit c2968da3 authored by Jon Miranda's avatar Jon Miranda
Browse files

Fix bug where FloatingIconView did not use IconShape normalization scale.

This fix allows for a clean tradeoff between the FIV and the original icon
in all icon shapes.

Bug: 130292844
Change-Id: Ief2eec2673161e0f9d32d8710713a1f01880040d
parent 5338e054
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -441,7 +441,8 @@ public class FloatingIconView extends View implements
                }

                if (!isFolderIcon) {
                    mStartRevealRect.inset(mBlurSizeOutline, mBlurSizeOutline);
                    Utilities.scaleRectAboutCenter(mStartRevealRect,
                            IconShape.getNormalizationScale());
                }

                float aspectRatio = mLauncher.getDeviceProfile().aspectRatio;