diff options
Diffstat (limited to 'CruUI/ui/control.cpp')
-rw-r--r-- | CruUI/ui/control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CruUI/ui/control.cpp b/CruUI/ui/control.cpp index baf18606..25f7c028 100644 --- a/CruUI/ui/control.cpp +++ b/CruUI/ui/control.cpp @@ -513,7 +513,7 @@ namespace cru { if (!layout_params->Validate()) throw std::runtime_error("LayoutParams is not valid. Please check it."); - auto&& get_available_length_for_child = [](const LayoutLength& layout_length, const float available_length) -> float + auto&& get_available_length_for_child = [](const LayoutSideParams& layout_length, const float available_length) -> float { switch (layout_length.mode) { @@ -545,7 +545,7 @@ namespace cru { max_child_size.height = size.height; }); - auto&& calculate_final_length = [](const LayoutLength& layout_length, const float length_for_children, const float max_child_length) -> float + auto&& calculate_final_length = [](const LayoutSideParams& layout_length, const float length_for_children, const float max_child_length) -> float { switch (layout_length.mode) { |