From e5eff783218deea215207bcf072a865c70a2c192 Mon Sep 17 00:00:00 2001 From: Hanton Yang Date: Thu, 28 Nov 2019 15:51:34 +0800 Subject: [PATCH] [Docs] minor fixes in `Layout` --- docs/_docs/layout2-layoutspec-types.md | 2 +- docs/_docs/layout2-quickstart.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_docs/layout2-layoutspec-types.md b/docs/_docs/layout2-layoutspec-types.md index a5ab39b14..f907343a3 100755 --- a/docs/_docs/layout2-layoutspec-types.md +++ b/docs/_docs/layout2-layoutspec-types.md @@ -48,7 +48,7 @@ You may also subclass `ASLa { _subnode.style.preferredSize = CGSizeMake(constrainedSize.max.width, constrainedSize.max.height / 2.0); - return [ASWrapperLayoutSpec wrapperWithLayoutElement:subnode]; + return [ASWrapperLayoutSpec wrapperWithLayoutElement:_subnode]; } diff --git a/docs/_docs/layout2-quickstart.md b/docs/_docs/layout2-quickstart.md index 047025fd9..2edbfda96 100755 --- a/docs/_docs/layout2-quickstart.md +++ b/docs/_docs/layout2-quickstart.md @@ -56,7 +56,7 @@ The play button on top of the `ASVideoNode` (top image) is placed using an `ASCe -Some elements have an "intrinsic size" based on their immediately available content. For example, ASTextNode can calculate its size based on its attributed string. Other nodes that have an intrinsic size include +Some elements have an "intrinsic size" based on their immediately available content. For example, ASTextNode can calculate its size based on its attributed string. Nodes that have an intrinsic size include - `ASImageNode` - `ASTextNode`