crossfader: fix interpolating arrays
This commit is contained in:
parent
4efb32f0e7
commit
5fcb9b6d39
1 changed files with 3 additions and 1 deletions
|
|
@ -80,7 +80,9 @@ module.exports = class Crossfader extends Switcher {
|
|||
|
||||
if (s['B'][i] === undefined) continue
|
||||
|
||||
if (typeof s['A'][i] == 'object') {
|
||||
if (Array.isArray(s['A'][i])) {
|
||||
|
||||
a[i] = []
|
||||
|
||||
for (var k in s['A'][i]) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue