File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -1097,7 +1097,7 @@ private void OnCellSelectionChanged()
1097
1097
DispatcherQueue . TryEnqueue ( ( ) =>
1098
1098
{
1099
1099
var oldSelection = SelectedCells ;
1100
- SelectedCells = new HashSet < TableViewCellSlot > ( SelectedCellRanges . SelectMany ( x => x ) ) ;
1100
+ SelectedCells = [ .. SelectedCellRanges . SelectMany ( x => x ) ] ;
1101
1101
1102
1102
var rowIndexes = oldSelection . Select ( x => x . Row ) . Concat ( SelectedCells . Select ( x => x . Row ) ) . Distinct ( ) ;
1103
1103
Original file line number Diff line number Diff line change 31
31
<Setter Property =" VerticalContentAlignment"
32
32
Value =" Center" />
33
33
<Setter Property =" HorizontalContentAlignment"
34
- Value =" Left " />
34
+ Value =" Stretch " />
35
35
<Setter Property =" IsTabStop"
36
36
Value =" False" />
37
37
<Setter Property =" Background" >
Original file line number Diff line number Diff line change 16
16
<DisableImplicitUnoPackages >true</DisableImplicitUnoPackages >
17
17
</PropertyGroup >
18
18
19
+ <PropertyGroup Condition =" '$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' == 'windows'" >
20
+ <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
21
+ </PropertyGroup >
22
+
19
23
<ItemGroup >
20
24
<PackageReference Include =" CommunityToolkit.WinUI.Behaviors" Version =" 8.1.240916" />
21
- <PackageReference Condition =" '$(TargetFramework)' == 'net8.0-windows10.0.22621.0'" Include =" Microsoft.WindowsAppSDK" Version =" 1.6.250108002" />
22
- <PackageReference Condition =" '$(TargetFramework)' != 'net8.0-windows10.0.22621.0'" Include =" Uno.WinUI" Version =" 5.5.95" />
25
+ </ItemGroup >
26
+
27
+ <ItemGroup Condition =" '$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' != 'windows'" >
28
+ <PackageReference Include =" Uno.WinUI" Version =" 5.5.95" />
29
+ </ItemGroup >
30
+
31
+ <ItemGroup Condition =" '$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' == 'windows'" >
32
+ <PackageReference Include =" Microsoft.WindowsAppSDK" Version =" 1.6.250108002" />
23
33
</ItemGroup >
24
34
25
35
<PropertyGroup Condition =" '$(Configuration)' == 'Release'" >
You can’t perform that action at this time.
0 commit comments