Kaynağa Gözat

Stops honoring the first step's ignoreFocusOut

main
Eric Amodio 4 yıl önce
ebeveyn
işleme
48844a07d4
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. +5
    -0
      src/commands/gitCommands.ts

+ 5
- 0
src/commands/gitCommands.ts Dosyayı Görüntüle

@ -90,6 +90,11 @@ export class GitCommandsCommand extends Command {
let ignoreFocusOut;
let step = command == null ? commandsStep : await this.getCommandStep(command, commandsStep);
// If this is the first step, don't honor the step's setting
if (step?.ignoreFocusOut === true) {
step.ignoreFocusOut = undefined;
}
while (step != null) {
// If we are trying to back up to the menu and have a starting command, then just reset to the starting command
if (step === commandsStep && command != null) {

Yükleniyor…
İptal
Kaydet