Browse Source

Removed dead code

pull/4871/head
Yoh Deadfall 6 years ago
parent
commit
3b48238fe0
  1. 15
      src/Avalonia.Controls/Primitives/SelectingItemsControl.cs

15
src/Avalonia.Controls/Primitives/SelectingItemsControl.cs

@ -842,21 +842,6 @@ namespace Avalonia.Controls.Primitives
}
}
/// <summary>
/// Sets an item container's 'selected' class or <see cref="ISelectable.IsSelected"/>.
/// </summary>
/// <param name="index">The index of the item.</param>
/// <param name="selected">Whether the item should be selected or deselected.</param>
private void MarkItemSelected(int index, bool selected)
{
var container = ItemContainerGenerator?.ContainerFromIndex(index);
if (container != null)
{
MarkContainerSelected(container, selected);
}
}
private void UpdateContainerSelection()
{
if (Presenter?.Panel is IPanel panel)

Loading…
Cancel
Save