react-electron-menu icon indicating copy to clipboard operation
react-electron-menu copied to clipboard

WindowMenu should work on current Window only unless onMac

Open wsmlby opened this issue 5 years ago • 0 comments

WindowMenu shouldn't disappear when window lost focus on Windows/Linux.

Previously, WindowMenu is used as ApplicationMenu(global menu) everywhere. This is the correct behavior on OSX but not on Windows/Linux.

This diff use the WindowMenu as menu on current Window when possible: not removing it when window lost focus.

wsmlby avatar Jul 27 '20 07:07 wsmlby