Mention customButtonsOnHover is for frameless windows
This commit is contained in:
parent
d5dc849c7a
commit
1adc94b650
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ win.show()
|
||||||
|
|
||||||
Uses custom drawn close, miniaturize, and fullscreen buttons that display
|
Uses custom drawn close, miniaturize, and fullscreen buttons that display
|
||||||
when hovering in the top left of the window. These custom buttons prevent issues
|
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.
|
with mouse events that occur with the standard window toolbar buttons. This
|
||||||
|
option is only applicable for frameless windows.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const {BrowserWindow} = require('electron')
|
const {BrowserWindow} = require('electron')
|
||||||
|
|
Loading…
Reference in a new issue