Remove the last of the major todos
This commit is contained in:
parent
ed263a7b5c
commit
9ce7ef8949
17 changed files with 73 additions and 267 deletions
|
@ -1143,7 +1143,6 @@ impl Workspace {
|
|||
quitting: bool,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) -> Task<Result<bool>> {
|
||||
//todo!(saveing)
|
||||
let active_call = self.active_call().cloned();
|
||||
let window = cx.window_handle();
|
||||
|
||||
|
@ -1694,28 +1693,6 @@ impl Workspace {
|
|||
None
|
||||
}
|
||||
|
||||
// todo!("implement zoom")
|
||||
#[allow(unused)]
|
||||
fn zoom_out(&mut self, cx: &mut ViewContext<Self>) {
|
||||
for pane in &self.panes {
|
||||
pane.update(cx, |pane, cx| pane.set_zoomed(false, cx));
|
||||
}
|
||||
|
||||
self.left_dock.update(cx, |dock, cx| dock.zoom_out(cx));
|
||||
self.bottom_dock.update(cx, |dock, cx| dock.zoom_out(cx));
|
||||
self.right_dock.update(cx, |dock, cx| dock.zoom_out(cx));
|
||||
self.zoomed = None;
|
||||
self.zoomed_position = None;
|
||||
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
// todo!()
|
||||
// #[cfg(any(test, feature = "test-support"))]
|
||||
// pub fn zoomed_view(&self, cx: &AppContext) -> Option<AnyViewHandle> {
|
||||
// self.zoomed.and_then(|view| view.upgrade(cx))
|
||||
// }
|
||||
|
||||
fn dismiss_zoomed_items_to_reveal(
|
||||
&mut self,
|
||||
dock_to_reveal: Option<DockPosition>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue