mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Do not clip scaled Launcher icons on hover.
Include change for setting the hover state flag programatically, as FastBitmapDrawable does not currently support DeviceConfig flags. Fix: 243191650 Test: FastBitmapDrawableTest. Screenshot tests in another cl. Flag: ENABLE_CURSOR_HOVER_STATES Change-Id: I0eb796ae62e571a3287132bfcb99c4fca1e2fbe4
This commit is contained in:
@@ -245,6 +245,7 @@ public class CellLayout extends ViewGroup {
|
||||
// the user where a dragged item will land when dropped.
|
||||
setWillNotDraw(false);
|
||||
setClipToPadding(false);
|
||||
setClipChildren(false);
|
||||
mActivity = ActivityContext.lookupContext(context);
|
||||
DeviceProfile deviceProfile = mActivity.getDeviceProfile();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user