Ensure drag outline & crosshairs disappear on drag cancel
Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
This commit is contained in:
@@ -1356,9 +1356,7 @@ public class CellLayout extends ViewGroup implements Dimmable, VisibilityChanged
|
||||
lp.isDragging = false;
|
||||
lp.dropped = true;
|
||||
lp.animateDrop = animate;
|
||||
if (animate) {
|
||||
child.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
child.setVisibility(animate ? View.INVISIBLE : View.VISIBLE);
|
||||
child.requestLayout();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user