Browse Source

Respects commit details view pinning

main
Eric Amodio 1 year ago
parent
commit
9ec461b642
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/webviews/commitDetails/commitDetailsWebviewView.ts

+ 2
- 0
src/webviews/commitDetails/commitDetailsWebviewView.ts View File

@ -130,6 +130,8 @@ export class CommitDetailsWebviewView extends WebviewViewBase
preserveFocus?: boolean | undefined;
preserveVisibility?: boolean | undefined;
}): Promise<void> {
if (this._pinned && !options?.pin && this.visible) return;
if (options != null) {
let commit;
let pin;

Loading…
Cancel
Save