Fix drag offset for holding space drag image.
The drag offset was slightly off as it didn't adequately account for insets added for shadow rendering. If the elevation of dragged items was increased, the drag offset could become severely off. Now, drag offset is calculated correctly with respect to shadow margins as well as insets added to accommodate the overflow badge (when present). Bug: 1139113 Change-Id: I18f1aebd8818203196787c8b587ad1c2e55ecbc7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485338 Commit-Queue: David Black <dmblack@google.com> Reviewed-by:Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#818629}
Showing
Please register or sign in to comment