Skip to content

Commit 3fc0a6b

Browse files
authored
SCM - Fix commit action button dropdown title (microsoft#154088)
Fix commit action button dropdown title
1 parent 32e10d5 commit 3fc0a6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/base/browser/ui/button/button.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { Emitter, Event as BaseEvent } from 'vs/base/common/event';
1515
import { KeyCode } from 'vs/base/common/keyCodes';
1616
import { Disposable, IDisposable } from 'vs/base/common/lifecycle';
1717
import { mixin } from 'vs/base/common/objects';
18+
import { localize } from 'vs/nls';
1819
import 'vs/css!./button';
1920

2021
export interface IButtonOptions extends IButtonStyles {
@@ -263,6 +264,7 @@ export class ButtonWithDropdown extends Disposable implements IButton {
263264
this.action = this._register(new Action('primaryAction', this.button.label, undefined, true, async () => this._onDidClick.fire(undefined)));
264265

265266
this.dropdownButton = this._register(new Button(this.element, { ...options, title: false, supportIcons: true }));
267+
this.dropdownButton.element.title = localize("button dropdown more actions", 'More Actions...');
266268
this.dropdownButton.element.classList.add('monaco-dropdown-button');
267269
this.dropdownButton.icon = Codicon.dropDownButton;
268270
this._register(this.dropdownButton.onDidClick(e => {

0 commit comments

Comments
 (0)