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

Verified Commit fa161530 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Saalim Quadri
Browse files

feat: Don't close folder on wiggle

parent fad4871e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -509,7 +509,7 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,

            // Close any opened folder
            Folder folder = Folder.getOpen(this);
            if (folder != null && folder.isOpen()) {
            if (folder != null && folder.isOpen() && !folder.isFolderWobbling()) {
                folder.close(false);
            }
        }
+7 −0
Original line number Diff line number Diff line
@@ -341,6 +341,13 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
        return mLauncherDelegate.isDraggingEnabled();
    }

    public boolean isFolderWobbling() {
        Launcher launcher = mLauncherDelegate.getLauncher();
        if (launcher != null) {
            return launcher.getWorkspace().isWobbling();
        } else return false;
    }

    public boolean startDrag(View v, DragOptions options) {
        Object tag = v.getTag();
        if (tag instanceof ItemInfo item) {