File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/scm/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1215,12 +1215,13 @@ class SCMInputWidget extends Disposable {
12151215 updateTemplate ( ) ;
12161216
12171217 // Update visibility
1218- const onDidChangeVisibility = ( ) => {
1219- toggleClass ( this . element , 'hidden' , ! input . visible ) ;
1220- this . _onDidChangeHeight . fire ( ) ;
1221- } ;
1222- this . repositoryDisposables . add ( input . onDidChangeVisibility ( onDidChangeVisibility , this ) ) ;
1223- onDidChangeVisibility ( ) ;
1218+ // TODO@Joao : input visibility should be a list splice
1219+ // const onDidChangeVisibility = () => {
1220+ // toggleClass(this.element, 'hidden', !input.visible);
1221+ // this._onDidChangeHeight.fire();
1222+ // };
1223+ // this.repositoryDisposables.add(input.onDidChangeVisibility(onDidChangeVisibility, this));
1224+ // onDidChangeVisibility();
12241225
12251226 // Save model
12261227 this . model = { input, textModel } ;
You can’t perform that action at this time.
0 commit comments