瀏覽代碼

Respects commit details view pinning

main
Eric Amodio 1 年之前
父節點
當前提交
9ec461b642
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      src/webviews/commitDetails/commitDetailsWebviewView.ts

+ 2
- 0
src/webviews/commitDetails/commitDetailsWebviewView.ts 查看文件

@ -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…
取消
儲存