From d6a13751debb34b9835f7667cf77b07075bcee11 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Mon, 30 Mar 2026 15:56:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BE=E5=B7=A6=E6=89=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs | 2 +- Wpf_AiSportsMicrospace/Views/SquatFu/WhackAMole.xaml.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs b/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs index 6368c40..67b67b9 100644 --- a/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs @@ -185,8 +185,8 @@ namespace Wpf_AiSportsMicrospace.Views.JumpRope int leftWaving = sportOperate.VerifyLeftWavingAction(humans); if (leftWaving == 5) { + _isCountdownStarted = true; _mainWin.HumanFrameUpdated -= OnHumanFrameUpdated; - //_mainWin.WebcamClient.StopExtract(); // 举左手逻辑,例如结束动画或退出 var newPage = new Home(); diff --git a/Wpf_AiSportsMicrospace/Views/SquatFu/WhackAMole.xaml.cs b/Wpf_AiSportsMicrospace/Views/SquatFu/WhackAMole.xaml.cs index 394b4ba..2846a99 100644 --- a/Wpf_AiSportsMicrospace/Views/SquatFu/WhackAMole.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/SquatFu/WhackAMole.xaml.cs @@ -195,7 +195,6 @@ namespace Views.SquatFu { _isCountdownStarted = true; _mainWin.HumanFrameUpdated -= OnHumanFrameUpdated; - //_mainWin.WebcamClient.StopExtract(); // 举左手逻辑,例如结束动画或退出 var newPage = new Home(); @@ -247,7 +246,7 @@ namespace Views.SquatFu private async void StartCountdown(int start = 3) { - _currentGameState = GameState.Running; + //_currentGameState = GameState.Running; _mainWin.ShowCountDownAnimation();