mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 21:00:35 +00:00
Scrollyscrolly
This commit is contained in:
parent
4f040208c6
commit
0eef4d03ed
1 changed files with 4 additions and 1 deletions
|
@ -3211,12 +3211,15 @@ impl CollabPanel {
|
||||||
// }
|
// }
|
||||||
|
|
||||||
impl Render for CollabPanel {
|
impl Render for CollabPanel {
|
||||||
type Element = Focusable<Div>;
|
type Element = Focusable<Stateful<Div>>;
|
||||||
|
|
||||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
||||||
div()
|
div()
|
||||||
|
.id("collab-panel")
|
||||||
.key_context("CollabPanel")
|
.key_context("CollabPanel")
|
||||||
.track_focus(&self.focus_handle)
|
.track_focus(&self.focus_handle)
|
||||||
|
.size_full()
|
||||||
|
.overflow_scroll()
|
||||||
.on_action(cx.listener(Self::confirm))
|
.on_action(cx.listener(Self::confirm))
|
||||||
.on_action(cx.listener(Self::insert_space))
|
.on_action(cx.listener(Self::insert_space))
|
||||||
.map(|el| {
|
.map(|el| {
|
||||||
|
|
Loading…
Reference in a new issue