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 {
1117
1117
if ( this . groupsService . count === 1 ) {
1118
1118
this . groupsService . addGroup ( this . groupsService . groups [ 0 ] , GroupDirection . LEFT , { activate : true } ) ;
1119
1119
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 ) ;
1128
1121
1129
1122
const gettingStartedGroup = this . groupsService . getGroups ( GroupsOrder . MOST_RECENTLY_ACTIVE ) . find ( group => ( group . activeEditor instanceof GettingStartedInput ) ) ;
1130
1123
this . groupsService . setSize ( assertIsDefined ( gettingStartedGroup ) , { width : gettingStartedSize , height : fullSize . height } ) ;
You can’t perform that action at this time.
0 commit comments