fix: typo in resolve for segmented button

This commit is contained in:
Ashley Wulber 2024-02-07 19:34:24 -05:00
parent 356500a95a
commit 640f2f9f5d
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

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),
);