Skip to content

Commit

Permalink
Merge pull request #3553 from HD787/fullscreenFix
Browse files Browse the repository at this point in the history
fixed fullscreen bug
  • Loading branch information
sestinj authored Jan 10, 2025
2 parents e2f32c8 + 0cadb9f commit 0c959f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/vscode/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -769,14 +769,15 @@ const getCommandsMap: (
true,
);

panel.onDidChangeViewState(() => {
const sessionLoader = panel.onDidChangeViewState(() => {
vscode.commands.executeCommand("continue.newSession");
if (sessionId) {
vscode.commands.executeCommand(
"continue.focusContinueSessionId",
sessionId,
);
}
sessionLoader.dispose()
});

// When panel closes, reset the webview and focus
Expand Down

0 comments on commit 0c959f7

Please sign in to comment.