impl Focusable for Button
This commit is contained in:
parent
6e540a58fa
commit
e56672e542
107 changed files with 524 additions and 417 deletions
|
@ -987,7 +987,7 @@ impl Render for ChatPanel {
|
|||
)
|
||||
.child(
|
||||
div().pt_1().w_full().items_center().child(
|
||||
Button::new("toggle-collab", "Open")
|
||||
Button::new("toggle-collab", "Open", cx)
|
||||
.full_width()
|
||||
.key_binding(KeyBinding::for_action(
|
||||
&collab_panel::ToggleFocus,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue