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

Commit 6eeab68f authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing drag outline positions for folder over hotseat

Bug: 22506247
Change-Id: Ia2508307554089205fd678987454e81cb811a59b
(cherry picked from commit 92bce431)
parent 8f375d1e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2276,6 +2276,8 @@ public class Workspace extends PagedView
            dragRect = new Rect(left, top, right, bottom);
        } else if (child instanceof FolderIcon) {
            int previewSize = grid.folderIconSizePx;
            dragVisualizeOffset = new Point(-padding.get() / 2,
                    padding.get() / 2 - child.getPaddingTop());
            dragRect = new Rect(0, child.getPaddingTop(), child.getWidth(), previewSize);
        }