Create new files in walkthrough steps on the right if... (#168119)

Create new files in walkthrough steps on the right if there are no other editor groups.
This commit is contained in:
Bhavya U 2022-12-05 15:38:24 -08:00 committed by GitHub
parent 782e13ba44
commit e79a401ba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1115,7 +1115,7 @@ export class GettingStartedPage extends EditorPane {
if (toSide && fullSize.width > 700) {
if (this.groupsService.count === 1) {
this.groupsService.addGroup(this.groupsService.groups[0], GroupDirection.LEFT, { activate: true });
this.groupsService.addGroup(this.groupsService.groups[0], GroupDirection.RIGHT, { activate: true });
const gettingStartedSize = Math.floor(fullSize.width / 2);