wip: refactor

This commit is contained in:
2024-12-16 08:53:55 +07:00
parent 2b9c88c5b7
commit 377f169420
16 changed files with 245 additions and 1381 deletions

View File

@@ -121,7 +121,7 @@ impl Element for ScrollableMask {
bounds,
border_widths: Edges::all(px(1.0)),
border_color: color,
background: gpui::transparent_white(),
background: gpui::transparent_white().into(),
corner_radii: Corners::all(px(0.)),
});
}

View File

@@ -597,7 +597,7 @@ impl Element for Scrollbar {
cx.paint_quad(PaintQuad {
bounds,
corner_radii: (0.).into(),
background: gpui::transparent_black(),
background: gpui::transparent_black().into(),
border_widths: if is_vertical {
Edges {
top: px(0.),