Procházet zdrojové kódy

Fixes dbl-click not showing the Commit Details

main
Eric Amodio před 1 rokem
rodič
revize
3f44bc4fbd
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +1
    -0
      src/plus/webviews/graph/graphWebview.ts
  2. +1
    -1
      src/webviews/commitDetails/commitDetailsWebviewView.ts

+ 1
- 0
src/plus/webviews/graph/graphWebview.ts Zobrazit soubor

@ -660,6 +660,7 @@ export class GraphWebview extends WebviewBase {
{
commit: commit,
preserveFocus: e.preserveFocus,
preserveVisibility: false,
},
{
source: this.id,

+ 1
- 1
src/webviews/commitDetails/commitDetailsWebviewView.ts Zobrazit soubor

@ -108,6 +108,7 @@ export class CommitDetailsWebviewView extends WebviewViewBase
this.disposables.push(
configuration.onDidChange(this.onConfigurationChanged, this),
configuration.onDidChangeAny(this.onAnyConfigurationChanged, this),
this.container.events.on('commit:selected', debounce(this.onCommitSelected, 250), this),
);
}
@ -256,7 +257,6 @@ export class CommitDetailsWebviewView extends WebviewViewBase
const { lineTracker } = this.container;
this._visibilityDisposable = Disposable.from(
lineTracker.subscribe(this, lineTracker.onDidChangeActiveLines(this.onActiveLinesChanged, this)),
this.container.events.on('commit:selected', debounce(this.onCommitSelected, 250), this),
);
const commit = this._pendingContext?.commit ?? this.getBestCommitOrStash();

Načítá se…
Zrušit
Uložit