aboutsummaryrefslogtreecommitdiff
path: root/src/ui/render/flex_layout_render_object.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-02 21:01:16 +0800
committercrupest <crupest@outlook.com>2019-04-02 21:01:16 +0800
commit4ea8be24492f58564ff1b1efe9f7c4673078bcbc (patch)
tree7494d20ed04763936555547a6a10caa870567353 /src/ui/render/flex_layout_render_object.cpp
parent1091b720bab98908dc89931b3d54c37729d33df2 (diff)
downloadcru-4ea8be24492f58564ff1b1efe9f7c4673078bcbc.tar.gz
cru-4ea8be24492f58564ff1b1efe9f7c4673078bcbc.tar.bz2
cru-4ea8be24492f58564ff1b1efe9f7c4673078bcbc.zip
...
Diffstat (limited to 'src/ui/render/flex_layout_render_object.cpp')
-rw-r--r--src/ui/render/flex_layout_render_object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/render/flex_layout_render_object.cpp b/src/ui/render/flex_layout_render_object.cpp
index 0e2e8ff7..99368c23 100644
--- a/src/ui/render/flex_layout_render_object.cpp
+++ b/src/ui/render/flex_layout_render_object.cpp
@@ -21,7 +21,7 @@ void FlexLayoutRenderObject::Draw(platform::Painter* painter) {
for (const auto child : GetChildren()) {
auto offset = child->GetOffset();
util::WithTransform(painter, Matrix::Translation(offset.x, offset.y),
- [child](auto rt) { child->Draw(rt); });
+ [child](auto p) { child->Draw(p); });
}
}