commit | 727890f180bd580aee4f5e51d308a63c460afe7e | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Wed May 15 14:32:50 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Wed May 15 14:32:50 2019 -0700 |
tree | 267f35faa93b9bd978477bac61f7e34612272ad2 | |
parent | 8575ede8fc2e3eb2d2e288a073e55d460c0961f3 [diff] |
Calculate pattern bounds correctly Use stable position on screen to calculate if pattern should be dragged or not. Before we were only comparing bounds to events, that would be on different coordinates (on a parent for example.) Test: draw pattern starting at top left Test: draw pattern starting at bottom right Fixes: 132687980 Change-Id: Ibe2d7fc113bf8bc3a9ab4910b3ab21062b59e7f3