-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Line 91 in 0d47faa
| //FIXME: if we null config what should we do? |
Hi, was browsing code and came across this, can give you a tip here:
So there is two ways to get config YGConfig.New() and YGConfig.GetDefault(), the difference is, that Default is a global config, and it's attached to every node by default. So unless you do YGNode.SetConfig(....) node would already use a Default config... And if you do YGNode.SetConfig(configPtr) only this one node would use that config...
Hope it makes it somewhat clearer.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request