Sfoglia il codice sorgente

Fix a bug with random transitions

Jay Salvat 10 anni fa
parent
commit
d697d5f335
4 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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);
                 }
             }
 

File diff suppressed because it is too large
+ 0 - 0
dist/vegas.min.js


File diff suppressed because it is too large
+ 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);
                 }
             }
 

Some files were not shown because too many files changed in this diff