Skip to content

Commit

Permalink
fix: reveal active column on preview reload
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato committed Nov 27, 2023
1 parent cb41f74 commit 1bcfd75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ This file is structured according to the [Keep a Changelog](http://keepachangelo

## [Unreleased]

### Fixed

- Reveal active column on reload preview

## [v0.8.0] - 2023-03-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/tothom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class Tothom {
}

if (reveal) {
preview.panel.reveal(0);
preview.panel.reveal(vscode.ViewColumn.Active);
}

const webview = preview.panel.webview;
Expand Down

0 comments on commit 1bcfd75

Please sign in to comment.