mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-25 17:27:26 +01:00
fix order for default scm views
This commit is contained in:
@@ -998,6 +998,7 @@ class RepositoryViewDescriptor implements IViewDescriptor {
|
||||
readonly name: string;
|
||||
readonly ctorDescriptor: { ctor: any, arguments?: any[] };
|
||||
readonly canToggleVisibility = true;
|
||||
readonly order = -500;
|
||||
|
||||
constructor(readonly repository: ISCMRepository, viewModel: IViewModel, readonly hideByDefault: boolean) {
|
||||
const repoId = repository.provider.rootUri ? repository.provider.rootUri.toString() : `#${RepositoryViewDescriptor.counter++}`;
|
||||
@@ -1015,6 +1016,7 @@ class MainPanelDescriptor implements IViewDescriptor {
|
||||
readonly ctorDescriptor: { ctor: any, arguments?: any[] };
|
||||
readonly canToggleVisibility = true;
|
||||
readonly hideByDefault = true;
|
||||
readonly order = -1000;
|
||||
|
||||
constructor(viewModel: IViewModel) {
|
||||
this.ctorDescriptor = { ctor: MainPanel, arguments: [viewModel] };
|
||||
|
||||
Reference in New Issue
Block a user