Add print yoga node AllEdge value when debug mode #948
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
add print yoga node AllEdge value when debug mode, the old logic just print four edgeValue including top left bottom and right
but when we set the same value to these edge, we use YGAllEdge, this will be more convenient debug code
so I open this pull request to add it
@@ -90,7 +90,8 @@ static void appendEdges(
const string& key,
This could also be the combination of YGEdgeVertical or YGEdgeHorizontal. I think the robust way to do this would be to call one of the node edge resolution functions (
computeEdgeValueForColumn()
orcomputeEdgeValueForRow()
)Wow I didn't expect you to come back, 3 years later 😅. Thanks for the PR!
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
😂😂 I become active recently, and receiving the code review message from my inbox
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@NickGerleman merged this pull request in facebook/yoga@3f9f0f3ceb.
Pull request closed