commit | 3cfa5edc9329a36834066351520f2b50f377ee9e | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Wed Nov 03 13:20:43 2021 -0700 |
committer | Tony Wickham <twickham@google.com> | Thu Nov 04 13:40:05 2021 -0700 |
tree | 08bc3e186930bf35906a1ed656c3fc348fe8df01 | |
parent | 0ac045fe23cc7b29c4d6712211c2b77bb4eff6e2 [diff] |
Fix misaligned folder creation drag over target Previously, the folder creation distance was based on the center of the cell, rather than the *visual* center, i.e. around the icon. Updated to use existing getWorkspaceVisualDragBounds() to handle this. Test: with DEBUG_VISUALIZE_OCCUPIED=true, ensure green circles are centered around the app icons; manually drag and drop to check the drawn regions are correct Bug: 204406063 Change-Id: I691a5cbbfc18c88436b88b7bda42f7920b9a5750