Browse Source

remove handling add case.

pull/1639/head
Dan Walmsley 8 years ago
parent
commit
efb8fde1bb
  1. 4
      src/Avalonia.Controls/Presenters/CarouselPresenter.cs

4
src/Avalonia.Controls/Presenters/CarouselPresenter.cs

@ -127,10 +127,6 @@ namespace Avalonia.Controls.Presenters
}
break;
case NotifyCollectionChangedAction.Add:
Panel.Children.InsertRange(e.NewStartingIndex, e.NewItems.OfType<IControl>());
break;
case NotifyCollectionChangedAction.Replace:
if (!IsVirtualized)
{

Loading…
Cancel
Save