Fix PageItem.animationsIn to only create animations for filtered items

This commit is contained in:
Mathias Schopmans
2017-04-06 16:57:20 +02:00
parent 194dde94c3
commit a4182544b7

View File

@@ -49,7 +49,7 @@ class PageItem extends React.Component {
}, },
600 600
), ),
items: props.items.map((item, i) => (createAnimation({ items: itemsInRing.map((item, i) => (createAnimation({
transform: 'translateX(-40px)', transform: 'translateX(-40px)',
opacity: '0', opacity: '0',
}, { }, {