fix: incorrect view ordering for customButtonsOnHover (#15564)

This commit is contained in:
Shelley Vohr 2018-12-10 11:05:30 -08:00 committed by Michelle Tilley
parent 163361ee6a
commit 45a937df0a
4 changed files with 20 additions and 18 deletions

View file

@ -49,10 +49,12 @@ win.show()
#### `customButtonsOnHover`
Uses custom drawn close, miniaturize, and fullscreen buttons that display
when hovering in the top left of the window. These custom buttons prevent issues
with mouse events that occur with the standard window toolbar buttons. This
option is only applicable for frameless windows.
Uses custom drawn close, and miniaturize buttons that display
when hovering in the top left of the window. The fullscreen button
is not available due to restrictions of frameless windows as they
interface with Apple's MacOS window masks. These custom buttons prevent
issues with mouse events that occur with the standard window toolbar buttons.
This option is only applicable for frameless windows.
```javascript
const { BrowserWindow } = require('electron')