Fix dock panels not focusing their contents on toggle

Co-authored-by: Antonio <antonio@zed.dev>
This commit is contained in:
Kirill Bulatov 2023-12-11 17:59:42 +02:00
parent a9f817fc14
commit 137104e00e
3 changed files with 13 additions and 14 deletions

View file

@ -346,6 +346,7 @@ impl Dock {
})
.ok();
}
// todo!() we do not use this event in the production code (even in zed1), remove it
PanelEvent::Activate => {
if let Some(ix) = this
.panel_entries