Fix bug with action keybindings not being resolved
This commit is contained in:
parent
152755b043
commit
cf6ea6d698
6 changed files with 44 additions and 12 deletions
|
@ -187,7 +187,14 @@ impl Dock {
|
|||
) -> Self {
|
||||
let position = DockPosition::Hidden(cx.global::<Settings>().default_dock_anchor);
|
||||
|
||||
let pane = cx.add_view(|cx| Pane::new(Some(position.anchor()), background_actions, cx));
|
||||
let pane = cx.add_view(|cx| {
|
||||
Pane::new(
|
||||
cx.handle().id(),
|
||||
Some(position.anchor()),
|
||||
background_actions,
|
||||
cx,
|
||||
)
|
||||
});
|
||||
pane.update(cx, |pane, cx| {
|
||||
pane.set_active(false, cx);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue