crossfader: fix interpolating arrays

This commit is contained in:
jean-emmanuel 2017-01-03 13:02:25 +01:00
parent 4efb32f0e7
commit 5fcb9b6d39

View file

@ -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]) {