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:
parent
a5405fcbd7
commit
65401d6d7b
2 changed files with 168 additions and 100 deletions
|
@ -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>) {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue