Expect Sun Salutation's next-pose figure in the movement view test
This commit is contained in:
1 parent
bd610f9d93
commit
39df1dffc8
1 file changed
+5
-1
@@ -341,7 +341,11 @@ CheckPracticeSessions :: () -> s32 {
|
||||
if tested != 0 {
|
||||
return 20 + tested
|
||||
}
|
||||
if sessions_test_movement.action != PRACTICE_MOVEMENT_NONE || sessions_test_figures != 1 {
|
||||
// Sun Salutation also holds the next pose (`exercise`, from 1)
|
||||
// small before its moving figure.
|
||||
figures := ifx practices[index] == EXERCISE_SUN_SALUTATION then 2 else 1
|
||||
if sessions_test_movement.action != PRACTICE_MOVEMENT_NONE || sessions_test_figures != figures ||
|
||||
sessions_test_figure.preview {
|
||||
return 24
|
||||
}
|
||||
area := sessions_test_figure.bounds
|
||||
|
||||
Reference in new issue
Block a user