@@ -236,7 +236,10 @@ export class MainPanel extends ViewletPanel {
236236 const renderer = this . instantiationService . createInstance ( ProviderRenderer ) ;
237237 const identityProvider = { getId : r => r . provider . id } ;
238238
239- this . list = this . instantiationService . createInstance ( WorkbenchList , container , delegate , [ renderer ] , { identityProvider } ) as WorkbenchList < ISCMRepository > ;
239+ this . list = this . instantiationService . createInstance ( WorkbenchList , container , delegate , [ renderer ] , {
240+ identityProvider,
241+ horizontalScrolling : false
242+ } ) as WorkbenchList < ISCMRepository > ;
240243
241244 renderer . onDidRenderElement ( e => this . list . updateWidth ( this . viewModel . repositories . indexOf ( e ) ) , null , this . disposables ) ;
242245 this . list . onSelectionChange ( this . onListSelectionChange , this , this . disposables ) ;
@@ -836,7 +839,8 @@ export class RepositoryPanel extends ViewletPanel {
836839
837840 this . list = this . instantiationService . createInstance ( WorkbenchList , this . listContainer , delegate , renderers , {
838841 identityProvider : scmResourceIdentityProvider ,
839- keyboardNavigationLabelProvider : scmKeyboardNavigationLabelProvider
842+ keyboardNavigationLabelProvider : scmKeyboardNavigationLabelProvider ,
843+ horizontalScrolling : false
840844 } ) as WorkbenchList < ISCMResourceGroup | ISCMResource > ;
841845
842846 Event . chain ( this . list . onDidOpen )
0 commit comments