Skip to content

Commit

Permalink
Do Not Expand Sim After Tutorial in Headless Mode
Browse files Browse the repository at this point in the history
I considered putting this check inside expandSimulator so it no-oped if we're in headless mode, but I think this may still be used to see the file explorer in javascript mode, so I left that untouched for now.
  • Loading branch information
thsparks committed Aug 17, 2023
1 parent cee358a commit 5e6ecf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4658,7 +4658,7 @@ export class ProjectView
return this.loadHeaderAsync(curr);
}).finally(() => {
core.hideLoading("leavingtutorial")
if (this.state.collapseEditorTools) {
if (this.state.collapseEditorTools && !pxt.appTarget.simulator.headless) {
this.expandSimulator();
}
this.postTutorialProgress();
Expand Down

0 comments on commit 5e6ecf1

Please sign in to comment.