wip
This commit is contained in:
parent
0c466f806c
commit
73f0459a0f
5 changed files with 25 additions and 21 deletions
|
@ -137,11 +137,7 @@ pub struct Dock {
|
|||
}
|
||||
|
||||
impl Dock {
|
||||
pub fn new(
|
||||
serialized_pane: SerializedPane,
|
||||
default_item_factory: DefaultItemFactory,
|
||||
cx: &mut ViewContext<Workspace>,
|
||||
) -> Self {
|
||||
pub fn new(default_item_factory: DefaultItemFactory, cx: &mut ViewContext<Workspace>) -> Self {
|
||||
let anchor = cx.global::<Settings>().default_dock_anchor;
|
||||
let pane = cx.add_view(|cx| Pane::new(Some(anchor), cx));
|
||||
pane.update(cx, |pane, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue