fix: typo in resolve for segmented button

This commit is contained in:
Ashley Wulber 2024-02-07 19:34:24 -05:00 committed by Ashley Wulber
parent 68dc09cd6c
commit 5530ac3254

View file

@ -176,8 +176,8 @@ where
let total_width = (state.buttons_visible as f32) * (width + spacing);
size = limits.height(Length::Fixed(height)).resolve(
total_width,
height,
self.width,
self.height,
Size::new(total_width, height),
);