Browse Source

Fix comment.

Fix spelling, and `VectorView` is `IReadOnlyList` in C#.
fixes/tree-selectionmodel
Steven Kirk 7 years ago
parent
commit
6c0265b6e8
  1. 2
      src/Avalonia.Controls/SelectionModel.cs

2
src/Avalonia.Controls/SelectionModel.cs

@ -227,7 +227,7 @@ namespace Avalonia.Controls
}
// Instead of creating a dumb vector that takes up the space for all the selected items,
// we create a custom VectorView implimentation that calls back using a delegate to find
// we create a custom IReadOnlyList implementation that calls back using a delegate to find
// the selected item at a particular index. This avoid having to create the storage and copying
// needed in a dumb vector. This also allows us to expose a tree of selected nodes into an
// easier to consume flat vector view of objects.

Loading…
Cancel
Save