WIP: Introduce layers in renderer

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-03-22 18:55:53 +01:00
co-authored by Nathan Sobo
parent bfc57cb4f6
commit 859c0f53cb
3 changed files with 12 additions and 12 deletions
+1 -5
View File
@@ -70,11 +70,7 @@ impl View for FileFinder {
.with_uniform_padding(6.0)
.with_corner_radius(6.0)
.with_background_color(ColorU::new(0xf2, 0xf2, 0xf2, 0xff))
.with_shadow(
vec2f(0.0, 4.0),
12.0,
ColorF::new(0.0, 0.0, 0.0, 0.25).to_u8(),
)
.with_shadow(vec2f(0., 4.), 12., ColorF::new(0.0, 0.0, 0.0, 0.25).to_u8())
.boxed(),
)
.with_max_width(600.0)