Skip to content

Commit

Permalink
Fixed #208, focus stage when playing.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Oct 19, 2023
1 parent 15a2d7b commit 328b161
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/project/ProjectView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,10 @@
$page.url.searchParams.get(PROJECT_PARAM_PLAY) !== null
) {
const output = layout.getOutput();
if (output) setFullscreen(output, true);
if (output) {
setFullscreen(output, true);
tick().then(() => focusTile(layout.fullscreenID));
}
}
layoutInitialized = true;
Expand Down

0 comments on commit 328b161

Please sign in to comment.