File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/vs/workbench/contrib/welcomeGettingStarted/browser Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -1117,14 +1117,7 @@ export class GettingStartedPage extends EditorPane {
11171117 if ( this . groupsService . count === 1 ) {
11181118 this . groupsService . addGroup ( this . groupsService . groups [ 0 ] , GroupDirection . LEFT , { activate : true } ) ;
11191119
1120- let gettingStartedSize : number ;
1121- if ( fullSize . width > 1600 ) {
1122- gettingStartedSize = 800 ;
1123- } else if ( fullSize . width > 800 ) {
1124- gettingStartedSize = 400 ;
1125- } else {
1126- gettingStartedSize = 350 ;
1127- }
1120+ const gettingStartedSize = Math . floor ( fullSize . width / 2 ) ;
11281121
11291122 const gettingStartedGroup = this . groupsService . getGroups ( GroupsOrder . MOST_RECENTLY_ACTIVE ) . find ( group => ( group . activeEditor instanceof GettingStartedInput ) ) ;
11301123 this . groupsService . setSize ( assertIsDefined ( gettingStartedGroup ) , { width : gettingStartedSize , height : fullSize . height } ) ;
You can’t perform that action at this time.
0 commit comments