From cee36ca9b191d888f7714f08a76b2fd7d2467e51 Mon Sep 17 00:00:00 2001 From: Johannes Faltermeier Date: Thu, 27 Jul 2023 13:16:45 +0200 Subject: [PATCH] Submenu contribution to editor/title and view/title not working #12706 * fix icons in toolbar --- .../src/browser/shell/tab-bar-toolbar/tab-bar-toolbar.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/src/browser/shell/tab-bar-toolbar/tab-bar-toolbar.tsx b/packages/core/src/browser/shell/tab-bar-toolbar/tab-bar-toolbar.tsx index f06b1b82d833f..491a26a4f2529 100644 --- a/packages/core/src/browser/shell/tab-bar-toolbar/tab-bar-toolbar.tsx +++ b/packages/core/src/browser/shell/tab-bar-toolbar/tab-bar-toolbar.tsx @@ -224,6 +224,10 @@ export class TabBarToolbar extends ReactWidget { if (this.commandIsToggled(item.command)) { classNames.push('toggled'); } + } else { + if (this.isEnabled(item)) { + classNames.push('enabled'); + } } return classNames; }