We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcce2aa commit e7d9448Copy full SHA for e7d9448
src/vs/base/browser/ui/actionbar/actionViewItems.ts
@@ -402,6 +402,10 @@ export class ActionViewItem extends BaseActionViewItem {
402
}
403
404
protected override updateEnabled(): void {
405
+ if (this.action.id === Separator.ID) {
406
+ return;
407
+ }
408
+
409
if (this.action.enabled) {
410
if (this.label) {
411
this.label.removeAttribute('aria-disabled');
@@ -427,6 +431,10 @@ export class ActionViewItem extends BaseActionViewItem {
427
431
428
432
429
433
protected override updateChecked(): void {
434
435
436
437
430
438
439
if (this.action.checked !== undefined) {
440
this.label.classList.toggle('checked', this.action.checked);
0 commit comments