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

Commit fc254baf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Increase max distance for folder creation for tablets." into ub-launcher3-edmonton-polish

parents c1de7779 5aab8703
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;