feat: upgrade to 11.2-rc1

This commit is contained in:
rabbitism
2024-10-07 18:18:33 +08:00
parent 9b8c3c78cc
commit c79c21ab87
2 changed files with 31 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<AvaloniaVersion>11.2.0-beta2</AvaloniaVersion> <AvaloniaVersion>11.2.0-rc1</AvaloniaVersion>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@@ -11,13 +11,36 @@
<Setter Property="ExtendClientAreaTitleBarHeightHint" Value="-1" /> <Setter Property="ExtendClientAreaTitleBarHeightHint" Value="-1" />
<Setter Property="ExtendClientAreaToDecorationsHint" Value="True" /> <Setter Property="ExtendClientAreaToDecorationsHint" Value="True" />
<Setter Property="u:OverlayDialogHost.IsModalStatusScope" Value="True" /> <Setter Property="u:OverlayDialogHost.IsModalStatusScope" Value="True" />
<!-- <Setter Property="IsMinimizeButtonVisible">
<Setter Property="IsMinimizeButtonVisible" Value="{OnPlatform Default=True, Windows=True, Linux=True, macOS=False}" /> <OnPlatform>
<On Options="Default, Windows, Linux">
<Setter Property="IsRestoreButtonVisible" Value="{OnPlatform Default=True, Windows=True, Linux=True, macOS=False}" /> <x:Boolean>True</x:Boolean>
</On>
<Setter Property="IsCloseButtonVisible" Value="{OnPlatform Default=True, Windows=True, Linux=True, macOS=False}" /> <On Options="macOS">
--> <x:Boolean>False</x:Boolean>
</On>
</OnPlatform>
</Setter>
<Setter Property="IsRestoreButtonVisible">
<OnPlatform>
<On Options="Default, Windows, Linux">
<x:Boolean>True</x:Boolean>
</On>
<On Options="macOS">
<x:Boolean>False</x:Boolean>
</On>
</OnPlatform>
</Setter>
<Setter Property="IsCloseButtonVisible">
<OnPlatform>
<On Options="Default, Windows, Linux">
<x:Boolean>True</x:Boolean>
</On>
<On Options="macOS">
<x:Boolean>False</x:Boolean>
</On>
</OnPlatform>
</Setter>
<Setter Property="SystemDecorations"> <Setter Property="SystemDecorations">
<OnPlatform> <OnPlatform>
<On Options="Default, Windows, macOS"> <On Options="Default, Windows, macOS">