fix(segmented_button): use correct divider color when vertical
This commit is contained in:
parent
2faaeddb05
commit
c497c227ce
3 changed files with 15 additions and 8 deletions
|
|
@ -65,7 +65,7 @@ where
|
|||
divider_bounds.x += f32::from(self.button_padding[0]);
|
||||
divider_bounds.width -= f32::from(self.button_padding[0]);
|
||||
divider_bounds.width -= f32::from(self.button_padding[2]);
|
||||
divider = Some(ItemBounds::Divider(divider_bounds));
|
||||
divider = Some(ItemBounds::Divider(divider_bounds, false));
|
||||
|
||||
bounds.y += divider_bounds.height + spacing;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue