diff --git a/Wpf_AiSportsMicrospace/Views/JumpRope/GroupJumpRope.xaml.cs b/Wpf_AiSportsMicrospace/Views/JumpRope/GroupJumpRope.xaml.cs index 0b40454..ffdd58d 100644 --- a/Wpf_AiSportsMicrospace/Views/JumpRope/GroupJumpRope.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/JumpRope/GroupJumpRope.xaml.cs @@ -189,7 +189,7 @@ namespace Wpf_AiSportsMicrospace.Views } int rightWaving = DetectRightHandRaise(humans); - if (rightWaving >= 3) + if (rightWaving >= 3 && RankingGrid.Visibility != Visibility.Visible) { switch (rightWaving) { diff --git a/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs b/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs index 3a25992..c8af34e 100644 --- a/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs @@ -188,7 +188,7 @@ namespace Wpf_AiSportsMicrospace.Views.JumpRope } int rightWaving = DetectRightHandRaise(humans); - if (rightWaving >= 3) + if (rightWaving >= 3 && RankingGrid.Visibility != Visibility.Visible) { switch (rightWaving) {