impl Focusable for Button

This commit is contained in:
Lukas Wirth 2025-08-13 16:40:11 +02:00
parent 6e540a58fa
commit e56672e542
107 changed files with 524 additions and 417 deletions

View file

@ -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,