Skip to content

Commit

Permalink
Fix a typo in C API documentation
Browse files Browse the repository at this point in the history
Summary:
Change "Certain nodes need *to* ability to measure themselves" to "Certain nodes need *the* ability to measure themselves".
Closes facebook#430

Differential Revision: D4600091

Pulled By: emilsjolander

fbshipit-source-id: d20693b47291e79bd8c5f76e57d6dff2444333d2
  • Loading branch information
AljoschaMeyer authored and facebook-github-bot committed Feb 22, 2017
1 parent d7ca339 commit 4522d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/api/c.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Once you have set up a tree of nodes with styles you will want to get the result

### Custom measurements

Certain nodes need to ability to measure themselves, the most common example is nodes which represent text. Text has an intrinsic size and requires measuring itself to determine that size. This is not something Yoga can do as it requires relying on the host system's text rendering engine.
Certain nodes need the ability to measure themselves, the most common example is nodes which represent text. Text has an intrinsic size and requires measuring itself to determine that size. This is not something Yoga can do as it requires relying on the host system's text rendering engine.

- Call `YGNodeMarkDirty` if a node with a custom text measurement function needs to be re-measured during the next layout pass.

Expand Down

0 comments on commit 4522d4b

Please sign in to comment.