mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: windowmenu did not show the window list on macOS (#16387)
This commit is contained in:
committed by
Alexey Kuzmin
parent
df62e78b71
commit
52e257668d
@@ -247,9 +247,7 @@ const roles = {
|
||||
{ role: 'zoom' },
|
||||
...(isMac ? [
|
||||
{ type: 'separator' },
|
||||
{ role: 'front' },
|
||||
{ type: 'separator' },
|
||||
{ role: 'window' }
|
||||
{ role: 'front' }
|
||||
] : [
|
||||
{ role: 'close' }
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user