add border widths to toggler stylesheet
This commit is contained in:
parent
80a29a277e
commit
ae3f5ba1a3
3 changed files with 14 additions and 8 deletions
|
|
@ -315,8 +315,8 @@ where
|
|||
bounds: toggler_background_bounds,
|
||||
border: Border {
|
||||
radius: border_radius.into(),
|
||||
width: 1.0,
|
||||
color: style.background_border.unwrap_or(style.background),
|
||||
width: style.background_border_width,
|
||||
color: style.background_border_color,
|
||||
},
|
||||
..renderer::Quad::default()
|
||||
},
|
||||
|
|
@ -340,8 +340,8 @@ where
|
|||
bounds: toggler_foreground_bounds,
|
||||
border: Border {
|
||||
radius: border_radius.into(),
|
||||
width: 1.0,
|
||||
color: style.foreground_border.unwrap_or(style.foreground),
|
||||
width: style.foreground_border_width,
|
||||
color: style.foreground_border_color,
|
||||
},
|
||||
..renderer::Quad::default()
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue