修改单双杠

This commit is contained in:
渣渣和 2024-09-24 18:18:07 +08:00
parent 017f9d1d8a
commit cf2d997b43
1 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class Tricep_dip_1(BaseExercise):
self.pre_pos = 2
self.had_done = True
if elbow_1 <= 100 or shoulder_1_y > elbow_1_y:
if elbow_1 <= 100 or shoulder_1_y >= elbow_1_y:
self.feedback = "上升"
if self.state == 1:
self.time += 1
@ -204,7 +204,7 @@ class Tricep_dip_1(BaseExercise):
self.pre_pos = 2
self.had_done = True
if elbow_2 <= 100 or shoulder_2_y > elbow_2_y:
if elbow_2 <= 100 or shoulder_2_y >= elbow_2_y:
self.feedback = "上升"
if self.state == 1:
self.time += 1