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

debt - adopt better affectedKeys-function

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