Skip to content

Commit

Permalink
new2
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Sep 9, 2024
1 parent 9c4f7b2 commit 9fe7a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ObservableCollections/SynchronizedViewList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private void Parent_ViewChanged(in SynchronizedViewChangedEventArgs<T, TView> e)
case NotifyCollectionChangedAction.Add: // Add or Insert
if (e.IsSingleItem)
{
if (e.OldStartingIndex == -1)
if (e.NewStartingIndex == -1)
{
// add operation
var index = listView.Count;
Expand Down

0 comments on commit 9fe7a38

Please sign in to comment.