提交 265c96b2 编写于 作者: B Benjamin Pasero

fix #23469

上级 1fa676a0
......@@ -40,6 +40,8 @@ import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
import { IEditorGroupService } from 'vs/workbench/services/group/common/groupService';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
import { isEqualOrParent } from 'vs/platform/files/common/files';
import { attachInputBoxStyler } from "vs/platform/theme/common/styler";
import { IThemeService } from "vs/platform/theme/common/themeService";
import IGitService = git.IGitService;
......@@ -87,7 +89,8 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV
@IWorkspaceContextService contextService: IWorkspaceContextService,
@IGitService gitService: IGitService,
@IOutputService outputService: IOutputService,
@IConfigurationService private configurationService: IConfigurationService
@IConfigurationService private configurationService: IConfigurationService,
@IThemeService private themeService: IThemeService
) {
super();
......@@ -153,6 +156,7 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV
ariaLabel: nls.localize('commitMessageAriaLabel', "Git: Type commit message and press {0} to commit", ChangesView.COMMIT_KEYBINDING),
flexibleHeight: true
});
this.toDispose.push(attachInputBoxStyler(this.commitInputBox, this.themeService));
this.commitInputBox.onDidChange((value) => this.emit('change', value));
this.commitInputBox.onDidHeightChange((value) => this.emit('heightchange', value));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册