mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Merge "Set elevation of popup and arrow to match. This ensures no shadow overlap." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
26a485bb2a
@@ -511,8 +511,8 @@ public abstract class ArrowPopup<T extends StatefulActivity<LauncherState>>
|
||||
mArrowOffsetHorizontal, -mArrowOffsetVertical,
|
||||
!mIsAboveIcon, mIsLeftAligned,
|
||||
mArrowColor));
|
||||
// TODO: Remove elevation when arrow is above as it casts a shadow on the container
|
||||
mArrow.setElevation(mIsAboveIcon ? mElevation : 0);
|
||||
setElevation(mElevation);
|
||||
mArrow.setElevation(mElevation);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user