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

fix check for config keys, #84678

上级 574f66e8
......@@ -374,7 +374,7 @@ export class OutlinePane extends ViewletPane {
}
// This is a temporary solution to try and minimize refilters while
// ConfigurationChangeEvents only provide the first section of the config path.
if (e.affectedKeys.some(key => key.search(/(outline|\[\w+\])/))) {
if (e.affectedKeys.some(key => key.search(/(outline|\[\w+\])/) === 0)) {
this._tree.refilter();
}
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册