Scroll the tree to the top after search

Fixes
#133946
This commit is contained in:
Raymond Zhao
2021-10-13 17:33:48 -07:00
parent 7548d58ac6
commit 46996ba864
@@ -1374,6 +1374,7 @@ export class SettingsEditor2 extends EditorPane {
this.refreshTOCTree();
this.renderTree(undefined, true);
this.settingsTree.scrollTop = 0;
return result;
});
}