diff --git a/AsyncDisplayKit/ASDisplayNode.mm b/AsyncDisplayKit/ASDisplayNode.mm index 78ebea1768..06818906fe 100644 --- a/AsyncDisplayKit/ASDisplayNode.mm +++ b/AsyncDisplayKit/ASDisplayNode.mm @@ -941,7 +941,7 @@ - (void)setShouldRasterizeDescendants:(BOOL)shouldRasterize [self _addSubnodeViewsAndLayers]; } - if (self.interfaceState & ASInterfaceStateVisible) { + if (ASInterfaceStateIncludesVisible(self.interfaceState)) { // TODO: Change this to recursivelyEnsureDisplay - but need a variant that does not skip // nodes that have shouldBypassEnsureDisplay set (such as image nodes) so they are rasterized. [self recursivelyDisplayImmediately];