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

Skip to content
Commit aec7dbd2 authored by Lucas Silva's avatar Lucas Silva
Browse files

Update drag-and-drop to support resizeable widgets

We updated the hit-detection to consider if the dragging item contains the center of any other item, instead of the other way around. We also keep track of the previous target item to prevent rapidly oscillating between two items.

Bug: 368056271
Test: UI update, manually on the device by dragging items of different
sizes
Flag: com.android.systemui.communal_widget_resizing

Change-Id: Ibf0c24cfde7a098d305443dd79c729d098ecbc42
parent 3267e525
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment