Sfoglia il codice sorgente

Respects commit details view pinning

main
Eric Amodio 1 anno fa
parent
commit
9ec461b642
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/webviews/commitDetails/commitDetailsWebviewView.ts

+ 2
- 0
src/webviews/commitDetails/commitDetailsWebviewView.ts Vedi 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;

Caricamento…
Annulla
Salva