This commit is contained in:
tanglong 2026-01-14 16:21:23 +08:00
parent 16e29e8d83
commit 534071ebc1

View File

@ -165,7 +165,6 @@ namespace Wpf_AiSportsMicrospace.Views
page.Arrange(new Rect(0, 0, page.DesiredSize.Width, page.DesiredSize.Height));
}
public void SwitchPageWithMaskAnimation(UserControl newPage, bool fromRight, double durationSeconds = 1.2)
{
if (MainContent.Content == newPage) return;
@ -282,7 +281,7 @@ namespace Wpf_AiSportsMicrospace.Views
private void Window_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
// 确认是左键双击
// 确认是右键双击
if (e.ChangedButton == MouseButton.Right)
{
Application.Current.Shutdown();