mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge changes from topic "am-402aa8b3-7a45-468a-931d-83007cd71180" into ub-launcher3-master
* changes:
[automerger] Increase max distance for folder creation for tablets. am: 5aab8703ee
Increase max distance for folder creation for tablets.
This commit is contained in:
committed by
Android (Google) Code Review
commit
899c08aee8
@@ -286,7 +286,9 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
mInsets.set(insets);
|
||||
|
||||
DeviceProfile grid = mLauncher.getDeviceProfile();
|
||||
mMaxDistanceForFolderCreation = (0.55f * grid.iconSizePx);
|
||||
mMaxDistanceForFolderCreation = grid.isTablet
|
||||
? 0.75f * grid.iconSizePx
|
||||
: 0.55f * grid.iconSizePx;
|
||||
mWorkspaceFadeInAdjacentScreens = grid.shouldFadeAdjacentWorkspaceScreens();
|
||||
|
||||
Rect padding = grid.workspacePadding;
|
||||
|
||||
Reference in New Issue
Block a user