Revert "Git - adopt new QuickInputButton location (#275071)" (#275465)

This reverts commit e092054c98.
This commit is contained in:
Dmitriy Vasyura
2025-11-04 22:24:33 -08:00
committed by GitHub
parent 1a756d609c
commit 90281f7d43

View File

@@ -2973,11 +2973,13 @@ export class CommandCenter {
inputBox.placeholder = l10n.t('Branch name');
inputBox.prompt = l10n.t('Please provide a new branch name');
inputBox.buttons = branchRandomNameEnabled ? [{
iconPath: new ThemeIcon('refresh'),
tooltip: l10n.t('Regenerate Branch Name'),
location: QuickInputButtonLocation.Input
}] : [];
inputBox.buttons = branchRandomNameEnabled ? [
{
iconPath: new ThemeIcon('refresh'),
tooltip: l10n.t('Regenerate Branch Name'),
location: QuickInputButtonLocation.Inline
}
] : [];
inputBox.value = initialValue ?? await getBranchName();
inputBox.valueSelection = getValueSelection(inputBox.value);