mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Correct spelling errors
This commit is contained in:
@@ -64,7 +64,7 @@ static void __ASDisplayLayerIncrementConcurrentDisplayCount(BOOL displayIsAsync,
|
||||
*/
|
||||
static void __ASDisplayLayerDecrementConcurrentDisplayCount(BOOL displayIsAsync, BOOL isRasterizing)
|
||||
{
|
||||
// Displays while rasterizing are not counted as concurrent displays, becuase they draw in serial when their rasterizing container displays.
|
||||
// Displays while rasterizing are not counted as concurrent displays, because they draw in serial when their rasterizing container displays.
|
||||
if (isRasterizing) {
|
||||
return;
|
||||
}
|
||||
@@ -92,7 +92,7 @@ static void __ASDisplayLayerDecrementConcurrentDisplayCount(BOOL displayIsAsync,
|
||||
|
||||
BOOL rasterizingFromAscendent = (_hierarchyState & ASHierarchyStateRasterized);
|
||||
|
||||
// if super node is rasterizing descendents, subnodes will not have had layout calls because they don't have layers
|
||||
// if super node is rasterizing descendants, subnodes will not have had layout calls because they don't have layers
|
||||
if (rasterizingFromAscendent) {
|
||||
[self __layout];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user