Skip to content

Commit 04b95fc

Browse files
authored
Commit Action button polish (microsoft#154908)
More Commit Action button tweaks
1 parent c46640d commit 04b95fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252

5353
.monaco-button-dropdown .monaco-button-dropdown-separator {
5454
padding: 4px 0;
55+
cursor: default;
5556
}
5657

5758
.monaco-button-dropdown .monaco-button-dropdown-separator > div {

src/vs/workbench/contrib/scm/browser/scmViewPane.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2668,6 +2668,7 @@ export class SCMActionButton implements IDisposable {
26682668
actions: actions,
26692669
addPrimaryActionToDropdown: false,
26702670
contextMenuProvider: this.contextMenuService,
2671+
title: button.command.tooltip,
26712672
supportIcons: true
26722673
});
26732674
} else if (button.description) {
@@ -2681,7 +2682,6 @@ export class SCMActionButton implements IDisposable {
26812682

26822683
this.button.enabled = button.enabled;
26832684
this.button.label = button.command.title;
2684-
this.button.element.title = button.command.tooltip ?? '';
26852685
this.button.onDidClick(async () => await executeButtonAction(button.command.id, ...(button.command.arguments || [])), null, this.disposables.value);
26862686

26872687
this.disposables.value!.add(this.button);

0 commit comments

Comments
 (0)