Minor formatting: added space in YGNodeMarkDirty assert message (#1243)
Summary: Currently `YGNodeMarkDirty()` assert message displayed **without** space between 2 lines: ``` "Only leaf nodes with custom measure functionsshould manually mark themselves as dirty" ^^^^^^^^^^^^^^^ ``` This minor PR fixes it :) Pull Request resolved: https://github.com/facebook/yoga/pull/1243 Reviewed By: jacdebug Differential Revision: D44870410 Pulled By: javache fbshipit-source-id: 58db50106e8e2980ec84c99976f569b94b739d9b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3782644b32
commit
d06f7b989e
@@ -444,7 +444,7 @@ YOGA_EXPORT void YGNodeMarkDirty(const YGNodeRef node) {
|
|||||||
YGAssertWithNode(
|
YGAssertWithNode(
|
||||||
node,
|
node,
|
||||||
node->hasMeasureFunc(),
|
node->hasMeasureFunc(),
|
||||||
"Only leaf nodes with custom measure functions"
|
"Only leaf nodes with custom measure functions "
|
||||||
"should manually mark themselves as dirty");
|
"should manually mark themselves as dirty");
|
||||||
|
|
||||||
node->markDirtyAndPropagate();
|
node->markDirtyAndPropagate();
|
||||||
|
Reference in New Issue
Block a user