mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Removing unnecessary post when removing DragView
-> This fixes a jank bug where you could see a dragged item in two places for a frame, upon release of that item Change-Id: I5aecc3be530763f2f067fd496e2c8e1d6f95af13
This commit is contained in:
@@ -222,11 +222,7 @@ public class DragView extends View {
|
||||
}
|
||||
|
||||
void remove() {
|
||||
post(new Runnable() {
|
||||
public void run() {
|
||||
mDragLayer.removeView(DragView.this);
|
||||
}
|
||||
});
|
||||
mDragLayer.removeView(DragView.this);
|
||||
}
|
||||
|
||||
int[] getPosition(int[] result) {
|
||||
|
||||
Reference in New Issue
Block a user