fix: make SetWindowButtonVisibility work for customButtonsOnHover (#27073)

This commit is contained in:
Cheng Zhao
2021-01-19 19:12:09 +09:00
committed by GitHub
parent 5e7e0a4c7e
commit c3091c3a70
9 changed files with 87 additions and 52 deletions

View File

@@ -1598,8 +1598,6 @@ Changes window icon.
Sets whether the window traffic light buttons should be visible.
This cannot be called when `titleBarStyle` is set to `customButtonsOnHover`.
#### `win.setAutoHideMenuBar(hide)`
* `hide` Boolean