Skip to content

Commit

Permalink
Adding wait value for debounce call
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <[email protected]>
  • Loading branch information
tsmaeder committed Oct 16, 2024
1 parent 7ce4e21 commit a5c0733
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class ElectronMainMenuFactory extends BrowserMainMenuFactory {
@inject(PreferenceService)
protected preferencesService: PreferenceService;

setMenuBar = debounce(() => this.doSetMenuBar());
setMenuBar = debounce(() => this.doSetMenuBar(), 100);

@postConstruct()
postConstruct(): void {
Expand Down

0 comments on commit a5c0733

Please sign in to comment.