Parcourir la source

Fix a bug with random transitions

Jay Salvat il y a 10 ans
Parent
commit
d697d5f335
4 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      dist/vegas.js
  2. 0 0
      dist/vegas.min.js
  3. 0 0
      dist/vegas.min.js.map
  4. 1 1
      src/vegas.js

+ 1 - 1
dist/vegas.js

@@ -320,7 +320,7 @@
                 if (transition instanceof Array) {
                     transition = this._random(transition);
                 } else {
-                    transition = this._random(this.animations);
+                    transition = this._random(this.transitions);
                 }
             }
 

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/vegas.min.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/vegas.min.js.map


+ 1 - 1
src/vegas.js

@@ -311,7 +311,7 @@
                 if (transition instanceof Array) {
                     transition = this._random(transition);
                 } else {
-                    transition = this._random(this.animations);
+                    transition = this._random(this.transitions);
                 }
             }
 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff