debugger: Make debug panes zoomable (#29365)

- [x] Buttons
- [x] Make it keyboard-driven

Co-authored-by: Anthony <anthony@zed.dev>

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
Cole Miller 2025-04-25 11:56:16 -04:00 committed by GitHub
parent a5405fcbd7
commit 65401d6d7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 168 additions and 100 deletions

View file

@ -39,7 +39,7 @@ use task::{
use terminal_view::TerminalView;
use ui::{ContextMenu, Divider, DropdownMenu, Tooltip, prelude::*};
use workspace::{
Workspace,
Pane, Workspace,
dock::{DockPosition, Panel, PanelEvent},
};
@ -1097,9 +1097,14 @@ impl Panel for DebugPanel {
Box::new(ToggleFocus)
}
fn pane(&self) -> Option<Entity<Pane>> {
None
}
fn activation_priority(&self) -> u32 {
9
}
fn set_active(&mut self, _: bool, _: &mut Window, _: &mut Context<Self>) {}
}