chore: Update background assign to use into.
This commit is contained in:
parent
8b23193f8f
commit
c2678268b2
2 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ impl Element for ScrollableMask {
|
||||||
bounds,
|
bounds,
|
||||||
border_widths: Edges::all(px(1.0)),
|
border_widths: Edges::all(px(1.0)),
|
||||||
border_color: color,
|
border_color: color,
|
||||||
background: gpui::transparent_white(),
|
background: gpui::transparent_white().into(),
|
||||||
corner_radii: Corners::all(px(0.)),
|
corner_radii: Corners::all(px(0.)),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -460,7 +460,7 @@ impl Element for Scrollbar {
|
||||||
cx.paint_quad(PaintQuad {
|
cx.paint_quad(PaintQuad {
|
||||||
bounds,
|
bounds,
|
||||||
corner_radii: (0.).into(),
|
corner_radii: (0.).into(),
|
||||||
background: gpui::transparent_black(),
|
background: gpui::transparent_black().into(),
|
||||||
border_widths: if is_vertical {
|
border_widths: if is_vertical {
|
||||||
Edges {
|
Edges {
|
||||||
top: px(0.),
|
top: px(0.),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue