electron-window-manager icon indicating copy to clipboard operation
electron-window-manager copied to clipboard

bugfix:Unmaximizes the window

Open planpoh opened this issue 6 years ago • 1 comments

https://electronjs.org/docs/api/browser-window Unmaximizes the window should call unmaximize() instead of restore().

planpoh avatar Apr 04 '19 08:04 planpoh

Hey, first of all thanks! I agree its confusing, but the api doesn't mirror the electron api exactly. If you check the readme it does what it says:

Maximizes the window. Restores if already maximized.

Since this changes the api, i wont merge it, but ill gladly add a version which adds the unmaximize() method and leaves the logic of maximize() according to the readme.

a-sync avatar Apr 04 '19 13:04 a-sync