aboutsummaryrefslogtreecommitdiff
path: root/src/ui/render/FlexLayoutRenderObject.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-09 23:53:18 +0800
committercrupest <crupest@outlook.com>2022-02-09 23:53:18 +0800
commitb8863c403a44c1c7ac35f1a1da92bbf3c8858552 (patch)
tree7e38f029f0657e6c1210a53f1cba331cdb8feab6 /src/ui/render/FlexLayoutRenderObject.cpp
parentd18b5453d7ffd19667ee8ac125b34ab5328f0dc3 (diff)
downloadcru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.gz
cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.bz2
cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.zip
...
Diffstat (limited to 'src/ui/render/FlexLayoutRenderObject.cpp')
-rw-r--r--src/ui/render/FlexLayoutRenderObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/render/FlexLayoutRenderObject.cpp b/src/ui/render/FlexLayoutRenderObject.cpp
index ebe60395..6475d005 100644
--- a/src/ui/render/FlexLayoutRenderObject.cpp
+++ b/src/ui/render/FlexLayoutRenderObject.cpp
@@ -333,7 +333,7 @@ Size FlexLayoutRenderObject::OnMeasureContent(
std::vector<FlexChildLayoutData> layout_data_list;
for (int i = 0; i < GetChildCount(); i++) {
children.push_back(GetChildAt(i));
- layout_data_list.push_back(GetChildLayoutData(i));
+ layout_data_list.push_back(GetChildLayoutDataAt(i));
}
if (horizontal) {
@@ -353,7 +353,7 @@ void FlexLayoutRenderObject::OnLayoutContent(const Rect& content_rect) {
std::vector<FlexChildLayoutData> layout_data_list;
for (int i = 0; i < child_count; i++) {
children.push_back(GetChildAt(i));
- layout_data_list.push_back(GetChildLayoutData(i));
+ layout_data_list.push_back(GetChildLayoutDataAt(i));
}
if (direction_ == FlexDirection::Horizontal) {