Jelajahi Sumber

Fix bad refactoring of loopCount member

Tristan Valcke 9 tahun lalu
induk
melakukan
1bfb2a76b4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/animation/AnimationAction.js

+ 1 - 1
src/animation/AnimationAction.js

@@ -473,7 +473,7 @@ AnimationAction.prototype = {
 			if ( loopCount === -1 ) {
 				// just started
 
-				this.loopCount = 0;
+				this._loopCount = 0;
 				this._setEndings( true, true, false );
 
 			}

粤ICP备19079148号