mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-23 10:22:03 +08:00
Bump FluentAvalonia to lastest
Bump titanium-web-proxy to lastest
This commit is contained in:
Submodule references/FluentAvalonia updated: af86596b10...5ee989b1b8
Submodule references/Titanium-Web-Proxy updated: 29256a4b4f...c36a4563a0
@@ -21,10 +21,7 @@
|
||||
</Application.Resources>
|
||||
<Application.Styles>
|
||||
<!--<FluentTheme Mode="Dark" />-->
|
||||
<sty:FluentAvaloniaTheme RequestedTheme="Dark"
|
||||
DefaultToUserTheme="False"
|
||||
GetUserAccentColor="False"
|
||||
UseSegoeUIOnWindows="True"/>
|
||||
<sty:FluentAvaloniaTheme />
|
||||
<StyleInclude Source="avares://System.Application.SteamTools.Client.Avalonia/Application/UI/Styles/ThemeDark.xaml" />
|
||||
<StyleInclude Source="avares://System.Application.SteamTools.Client.Avalonia/Application/UI/Styles/ThemeAccent.xaml" />
|
||||
|
||||
|
||||
@@ -152,13 +152,13 @@ namespace System.Application.UI
|
||||
if (OperatingSystem2.IsWindows)
|
||||
{
|
||||
if (OperatingSystem2.IsWindowsVersionAtLeast(6, 2))
|
||||
thm.GetUserAccentColor = true;
|
||||
thm.UseUserAccentColorOnWindows = true;
|
||||
else
|
||||
thm.GetUserAccentColor = false;
|
||||
thm.UseUserAccentColorOnWindows = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
thm.GetUserAccentColor = true;
|
||||
thm.UseUserAccentColorOnWindows = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -155,9 +155,9 @@ namespace System.Application.Services.Implementation
|
||||
}
|
||||
break;
|
||||
|
||||
case WM.ACTIVATE:
|
||||
EnsureExtended();
|
||||
break;
|
||||
//case WM.ACTIVATE:
|
||||
// EnsureExtended();
|
||||
// break;
|
||||
|
||||
case WM.NCMOUSEMOVE:
|
||||
if (_fakingMaximizeButton)
|
||||
|
||||
@@ -17,10 +17,10 @@ namespace System.Application.UI.Views.Windows
|
||||
SystemDecorations = SystemDecorations.Full;
|
||||
ExtendClientAreaChromeHints = Avalonia.Platform.ExtendClientAreaChromeHints.PreferSystemChrome;
|
||||
|
||||
if (OperatingSystem2.IsWindows11AtLeast)
|
||||
{
|
||||
AvaloniaLocator.Current.GetService<FluentAvaloniaTheme>().ForceNativeTitleBarToTheme(this, "Dark");
|
||||
}
|
||||
//if (OperatingSystem2.IsWindows11AtLeast)
|
||||
//{
|
||||
// AvaloniaLocator.Current.GetService<FluentAvaloniaTheme>().ForceNativeTitleBarToTheme(this, "Dark");
|
||||
//}
|
||||
#if DEBUG
|
||||
this.AttachDevTools();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user