Remove CATransaction hack.

ASRangeController previously enqueued display of individual nodes by
adding their views to the hierarchy, wrapping each `-addSubview:` call
in an explicit CATransaction to force displays to occur in order.  This
hack is no longer necessary -- kill it.
This commit is contained in:
Nadine Salter
2014-12-16 14:00:01 -08:00
parent e95cdf1130
commit 89a0a25347

View File

@@ -121,12 +121,7 @@
ASDisplayNodeAssertMainThread();
ASDisplayNodeAssert(node && view, @"invalid argument, did you mean -removeNodeFromWorkingRange:?");
// use an explicit transaction to force CoreAnimation to display nodes in the order they are added.
[CATransaction begin];
[view addSubview:node.view];
[CATransaction commit];
}
#pragma mark -