Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Merge branch 'gpui2' into marshall/gpui2-playground
Marshall Bowersf76c9041bb36
diff --cc crates/gpui3/src/elements/div.rsindex 804d01f8258,5fd4b0b243e..e29391b189b--- a/crates/gpui3/src/elements/div.rs+++ b/crates/gpui3/src/elements/div.rs@@@ -51,11 -51,14 +52,14 @@@ impl<S: 'static + Send + Sync> Elementlet overflow = &style.overflow;style.apply_text_style(cx, |cx| {- cx.stack(1, |cx| {+ cx.stack(z_index + 1, |cx| {- style.apply_overflow(bounds, cx, |cx| self.paint_children(overflow, state, cx))+ style.apply_overflow(bounds, cx, |cx| {+ self.listeners.paint(bounds, cx);+ self.paint_children(overflow, state, cx)+ })})})?;- self.handle_scroll(bounds, style.overflow.clone(), child_layouts, cx);+ self.handle_scroll(bounds, style.overflow.clone(), child_layout_ids, cx);// todo!("enable inspector")// if cx.is_inspector_enabled() {diff --cc crates/storybook2/src/collab_panel.rsindex 97dd8e83edd,e3ec96d561f..0628f8ee913--- a/crates/storybook2/src/collab_panel.rs+++ b/crates/storybook2/src/collab_panel.rs@@@ -1,8 -1,9 +1,9 @@@-use crate::theme::{theme, Theme};use gpui3::{- div, img, svg, view, AppContext, Context, Element, IntoAnyElement, ParentElement, ScrollState,- SharedString, StyleHelpers, View, ViewContext, WindowContext,+ div, img, svg, view, AppContext, Context, Element, Interactive, IntoAnyElement, MouseButton,+ ParentElement, ScrollState, SharedString, StyleHelpers, Styled, View, ViewContext,+ WindowContext,};+use ui::{theme, Theme};pub struct CollabPanel {scroll_state: ScrollState,