mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix naming convetion:
- "Layout node" is changed to "layout spec". - Update tests. - Update Kittens sample.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#import "ASLayout.h"
|
||||
#import "ASAssert.h"
|
||||
#import "ASLayoutNodeUtilities.h"
|
||||
#import "ASLayoutSpecUtilities.h"
|
||||
#import <stack>
|
||||
|
||||
CGPoint const CGPointNull = {NAN, NAN};
|
||||
@@ -71,7 +71,7 @@ extern BOOL CGPointIsNull(CGPoint point)
|
||||
BOOL visited;
|
||||
};
|
||||
|
||||
// Stack of Contexts, used to keep track of sub layouts while traversing the calculated layout in a DFS fashion.
|
||||
// Stack of Contexts, used to keep track of sublayouts while traversing this layout in a DFS fashion.
|
||||
std::stack<Context> stack;
|
||||
stack.push({self, CGPointMake(0, 0), NO});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user