You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean up timing of layout tree flattening/ copying of unflattened tree for Weaver (TextureGroup#1157)
* Simpler Huy fix for more efficient delayed flattening of the layout tree
* Nit
* Remove pbx changes
* Update CHANGELOG.md
* Add note about change in timing of _flattenedLayout capture
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@
51
51
- Optimize layout process by removing `ASRectMap`. [Adlai Holler](https://github.com/Adlai-Holler)
52
52
- Remove necessity to use view to access rangeController in ASTableNode, ASCollectionNode. [Michael Schneider](https://github.com/maicki)
53
53
- Remove display node's reliance on shared_ptr. [Adlai Holler](https://github.com/Adlai-Holler)
54
+
- Clean up timing of layout tree flattening/ copying of unflattened tree for Weaver. [Michael Zuccarino](https://github.com/mikezucc)[#1157](https://github.com/TextureGroup/Texture/pull/1157)
54
55
55
56
## 2.7
56
57
- Fix pager node for interface coalescing. [Max Wang](https://github.com/wsdwsd0829)[#877](https://github.com/TextureGroup/Texture/pull/877)
// Return the (original) unflattened layout if it needs to be stored. The layout will be flattened later on (@see _locked_setCalculatedDisplayNodeLayout:).
1224
-
// Otherwise, flatten it right away.
1225
-
if (! [ASDisplayNode shouldStoreUnflattenedLayouts]) {
1226
-
layout = [layout filteredNodeLayoutTree];
1223
+
// PR #1157: Reduces accuracy of _unflattenedLayout for debugging/Weaver
1224
+
if ([ASDisplayNode shouldStoreUnflattenedLayouts]) {
0 commit comments