From 9337795419453afd73a7ba9668d5c791a961db43 Mon Sep 17 00:00:00 2001 From: Hanton Yang Date: Thu, 5 Dec 2019 14:16:26 +0800 Subject: [PATCH] [Docs] minor fixes in `Layout` (#1735) --- 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`