Skip to content

Commit

Permalink
Update dummy.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Sep 27, 2024
1 parent 7391a4c commit af1fbe0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ function buildMenu(userResourcesPath: string): Menu {
);
}

menu.append(new MenuItem({ label: 'Go', submenu: goMenu }));

if (!isMac) {
menu.append(
new MenuItem({
Expand All @@ -125,6 +123,10 @@ function buildMenu(userResourcesPath: string): Menu {
);
}

menu.append(new MenuItem({ label: 'Go', submenu: goMenu }));
// Add a dummy menu item to take focus
menu.append(new MenuItem({ label: '', enabled: false }));

return menu;
}

Expand Down

0 comments on commit af1fbe0

Please sign in to comment.