Commit graph

11 commits

Author SHA1 Message Date
Cheng Zhao
97929eab5f
fix: move window buttons in-place on macOS (#30322) 2021-08-04 09:31:12 +09:00
Samuel Maddock
f9d2a7077e
feat: include resize edge with will-resize event (#29199)
* feat: emit resize edge with will-resize event

fix: wparam type

fix: private member usage on mac

docs: will-resize event edge option

refactor: 'info' -> 'details' for better type gen

* Update docs/api/browser-window.md

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>

* Update docs/api/browser-window.md

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2021-06-02 11:37:10 +09:00
Shelley Vohr
503d24a473
fix: handle async nature of [NSWindow -toggleFullScreen] (#25470) 2021-04-21 16:56:25 +02:00
Cheng Zhao
8bf66f8974
fix: clean up implementations of titleBarStyle (#27489)
* Rewrite titleBarStyle impls with WindowButtonsView

* Remove fullscreenWindowTitle option

* Make buttons show correctly under RTL

* Fix docs about traffic lights position

* Fix test on fullscreen resizable

* Fix button states with closabe/minimizable/fullscreenable

* Fix typo

* Deprecate the fullscreenWindowTitle option
2021-01-30 17:15:10 -06:00
Samuel Maddock
83d30c5c2a
feat: add 'resized' event to BrowserWindow (#26216)
Also adds 'moved' event to BrowserWindow on Windows.
2020-11-11 19:27:24 -05:00
Milan Burda
1c99a9b425
refactor: Chromium code style for enum classes (#26165) 2020-10-27 10:51:45 -07:00
Cheng Zhao
22c6c891be
fix: unsubscribe from observers when window is closing (#25554) 2020-09-23 10:53:32 +09:00
Shelley Vohr
af4876296c
fix: macOS modal focus (#24286) 2020-06-29 13:15:28 -07:00
Shelley Vohr
b14608c2c1
fix: dialog fails to show after modal close (#22858) 2020-03-30 09:48:20 -07:00
Shelley Vohr
f4868c9a28
fix: persist maximizable state through theme change (#22677) 2020-03-17 10:58:57 -07:00
Jeremy Apthorp
d9321f4df7
chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
Renamed from shell/browser/ui/cocoa/atom_ns_window_delegate.mm (Browse further)