Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Screenshare item background is now of editor background's color
Kirill Bulatov669293e74938
diff --git a/crates/workspace/src/shared_screen.rs b/crates/workspace/src/shared_screen.rsindex dbbe7de6a18..edfabed60d3 100644--- a/crates/workspace/src/shared_screen.rs+++ b/crates/workspace/src/shared_screen.rs@@ -66,12 +66,16 @@ impl FocusableView for SharedScreen {}}impl Render for SharedScreen {- fn render(&mut self, _: &mut ViewContext<Self>) -> impl IntoElement {- div().track_focus(&self.focus).size_full().children(- self.frame- .as_ref()- .map(|frame| img(frame.image()).size_full()),- )+ fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {+ div()+ .bg(cx.theme().colors().editor_background)+ .track_focus(&self.focus)+ .size_full()+ .children(+ self.frame+ .as_ref()+ .map(|frame| img(frame.image()).size_full()),+ )}}