File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
ReactiveProperty.NETStandard/Helpers Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 4040 shell : pwsh
4141 run : |
4242 $doc = [XML](Get-Content 'Source\Directory.Build.props')
43- echo "::set-output name= version:: $($doc.Project.PropertyGroup.Version)"
43+ echo "version= $($doc.Project.PropertyGroup.Version) >> $GITHUB_OUTPUT"
4444 - name : Install dependencies
4545 run : dotnet restore ReactiveProperty.sln
4646 - name : Build
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
33 <RootNamespace >Reactive.Bindings</RootNamespace >
4- <Version >9.3.1 </Version >
4+ <Version >9.3.2 </Version >
55 <Authors >neuecc xin9le okazuki</Authors >
66 <PackageProjectUrl >https://github.com/runceel/ReactiveProperty</PackageProjectUrl >
77 <PackageTags >rx mvvm async rx-main reactive</PackageTags >
Original file line number Diff line number Diff line change @@ -351,7 +351,16 @@ public void Dispose()
351351 CollectionChanged -= Source_CollectionChanged ;
352352 }
353353
354- private int FindNearIndex ( int position ) => IndexList . Take ( position ) . Reverse ( ) . FirstOrDefault ( x => x != null ) ?? - 1 ;
354+ private int FindNearIndex ( int position )
355+ {
356+ for ( int i = position ; i >= 0 ; i -- )
357+ {
358+ var value = IndexList [ i ] ;
359+ if ( value != null ) return value . Value ;
360+ }
361+
362+ return - 1 ;
363+ }
355364
356365 private void AppearNewItem ( int index )
357366 {
You can’t perform that action at this time.
0 commit comments