@@ -414,7 +414,7 @@ export class Animation {
414
414
415
415
// since there was no animation, immediately run the after
416
416
// ******** DOM WRITE ****************
417
- this . _afterAnimation ( ) ;
417
+ this . _setAfterStyles ( ) ;
418
418
419
419
// this animation has no duration, so it has finished
420
420
// other animations could still be running
@@ -513,7 +513,7 @@ export class Animation {
513
513
514
514
// set the after styles
515
515
// ******** DOM WRITE ****************
516
- this . _afterAnimation ( ) ;
516
+ this . _setAfterStyles ( ) ;
517
517
518
518
// remove the will-change properties
519
519
// ******** DOM WRITE ****************
@@ -789,13 +789,8 @@ export class Animation {
789
789
/**
790
790
* @private
791
791
* DOM WRITE
792
- * RECURSION
793
792
*/
794
- _afterAnimation ( ) {
795
- for ( var i = 0 ; i < this . _cL ; i ++ ) {
796
- this . _c [ i ] . _afterAnimation ( ) ;
797
- }
798
-
793
+ _setAfterStyles ( ) {
799
794
let ele : HTMLElement ;
800
795
for ( var i = 0 ; i < this . _eL ; i ++ ) {
801
796
ele = this . _e [ i ] ;
@@ -991,7 +986,7 @@ export class Animation {
991
986
// ******** DOM WRITE ****************
992
987
this . _progress ( stepValue ) ;
993
988
this . _willChg ( false ) ;
994
- this . _afterAnimation ( ) ;
989
+ this . _setAfterStyles ( ) ;
995
990
this . _didFinish ( shouldComplete ) ;
996
991
997
992
} else {
0 commit comments