diff --git a/AsyncDisplayKit/ASCollectionView.mm b/AsyncDisplayKit/ASCollectionView.mm index 0a39fdef72..976f19f942 100644 --- a/AsyncDisplayKit/ASCollectionView.mm +++ b/AsyncDisplayKit/ASCollectionView.mm @@ -1113,7 +1113,7 @@ - (ASScrollDirection)_scrollDirectionForVelocity:(CGPoint)scrollVelocity - (ASScrollDirection)scrollableDirections { - if (_layoutInspectorFlags.layoutInspectorScrollableDirections) { + if (_layoutInspectorFlags.scrollableDirections) { return [self.layoutInspector scrollableDirections]; } else { ASScrollDirection scrollableDirection = ASScrollDirectionNone;