mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:36:27 -05:00
editor toolbar: set debounce delay to 0 (fix #131584)
This commit is contained in:
@@ -227,7 +227,7 @@ export abstract class TitleControl extends Themable {
|
||||
const activeEditorPane = this.group.activeEditorPane;
|
||||
if (activeEditorPane instanceof EditorPane) {
|
||||
const scopedContextKeyService = activeEditorPane.scopedContextKeyService ?? this.contextKeyService;
|
||||
const titleBarMenu = this.menuService.createMenu(MenuId.EditorTitle, scopedContextKeyService, { emitEventsForSubmenuChanges: true });
|
||||
const titleBarMenu = this.menuService.createMenu(MenuId.EditorTitle, scopedContextKeyService, { emitEventsForSubmenuChanges: true, eventDebounceDelay: 0 });
|
||||
this.editorToolBarMenuDisposables.add(titleBarMenu);
|
||||
this.editorToolBarMenuDisposables.add(titleBarMenu.onDidChange(() => {
|
||||
this.updateEditorActionsToolbar(); // Update editor toolbar whenever contributed actions change
|
||||
|
||||
Reference in New Issue
Block a user