diff options
Diffstat (limited to 'CruUI/ui/controls/toggle_button.cpp')
-rw-r--r-- | CruUI/ui/controls/toggle_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/ui/controls/toggle_button.cpp b/CruUI/ui/controls/toggle_button.cpp index 94685b6e..9812a6f4 100644 --- a/CruUI/ui/controls/toggle_button.cpp +++ b/CruUI/ui/controls/toggle_button.cpp @@ -112,7 +112,7 @@ namespace cru::ui::controls { const auto layout_params = GetLayoutParams(); - auto&& get_measure_length = [](const MeasureLength& layout_length, const float available_length, const float fix_length) -> float + auto&& get_measure_length = [](const LayoutLength& layout_length, const float available_length, const float fix_length) -> float { switch (layout_length.mode) { |