NotStarted

This commit is contained in:
tanglong 2025-10-20 14:17:41 +08:00
parent 4678a34a34
commit 02619ca62e
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ namespace Wpf_AiSportsMicrospace.Views
ShowRankingBoard(RankingItemList); ShowRankingBoard(RankingItemList);
Utils.StopBackgroundMusic(); Utils.StopBackgroundMusic();
_currentGameState = GameState.Running; _currentGameState = GameState.NotStarted;
_mainWin.HumanFrameUpdated += OnHumanFrameUpdated; _mainWin.HumanFrameUpdated += OnHumanFrameUpdated;
_mainWin.WebcamClient.StartExtract(); _mainWin.WebcamClient.StartExtract();
} }

View File

@ -301,7 +301,7 @@ namespace Wpf_AiSportsMicrospace.Views.JumpRope
// 更新游戏状态 // 更新游戏状态
_currentGameState = GameState.Running; _currentGameState = GameState.NotStarted;
// 恢复视频流 // 恢复视频流
Application.Current.Dispatcher.Invoke(() => Application.Current.Dispatcher.Invoke(() =>