Explorar o código

Fix a bug with random transitions

Jay Salvat %!s(int64=10) %!d(string=hai) anos
pai
achega
d697d5f335
Modificáronse 4 ficheiros con 2 adicións e 2 borrados
  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) {
                 if (transition instanceof Array) {
                     transition = this._random(transition);
                     transition = this._random(transition);
                 } else {
                 } else {
-                    transition = this._random(this.animations);
+                    transition = this._random(this.transitions);
                 }
                 }
             }
             }
 
 

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/vegas.min.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/vegas.min.js.map


+ 1 - 1
src/vegas.js

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

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio