提交 c82766c0 编写于 作者: J Johannes Rieken

fix #54554

上级 8ced5237
......@@ -223,6 +223,16 @@ export class BreadcrumbsControl {
let listener = model.onDidUpdate(updateBreadcrumbs);
updateBreadcrumbs();
this._breadcrumbsDisposables = [model, listener];
// close picker on hide/update
this._breadcrumbsDisposables.push({
dispose: () => {
if (this._breadcrumbsPickerShowing) {
this._contextViewService.hideContextView();
}
}
});
return true;
}
......@@ -277,7 +287,7 @@ export class BreadcrumbsControl {
return combinedDisposable([listener, res]);
},
onHide: (data) => {
onHide: () => {
this._breadcrumbsPickerShowing = false;
this._updateCkBreadcrumbsActive();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册