From d83f4d6a2cd4b5414d3b4237a0d5c40546d0a6b3 Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Tue, 21 Jun 2022 21:29:26 +0200 Subject: [PATCH] Add action button tooltip --- src/vs/workbench/contrib/scm/browser/scmViewPane.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/scm/browser/scmViewPane.ts b/src/vs/workbench/contrib/scm/browser/scmViewPane.ts index 8d824b6a5fd19..a3161b91f7e9c 100644 --- a/src/vs/workbench/contrib/scm/browser/scmViewPane.ts +++ b/src/vs/workbench/contrib/scm/browser/scmViewPane.ts @@ -2597,7 +2597,7 @@ export class SCMActionButton implements IDisposable { (this.button as ButtonWithDescription).description = button.description; } else { // Button - this.button = new Button(this.container, { supportIcons: true }); + this.button = new Button(this.container, { supportIcons: true, title: button.command.tooltip }); } this.button.label = button.command.title;