Add png image loading to gpui

add zed logo into welcome experience

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Mikayla Maki 2023-03-06 10:39:35 -08:00
parent f89f33347d
commit 4c179875ab
11 changed files with 76 additions and 33 deletions

View file

@ -1325,7 +1325,7 @@ impl View for ProjectPanel {
Canvas::new(|bounds, _visible_bounds, cx| {
cx.scene.push_quad(gpui::Quad {
bounds,
background: Some(Color::red()),
background: Some(Color::transparent_black()),
..Default::default()
})
})