mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
typo fix
This commit is contained in:
@@ -1136,7 +1136,7 @@ bool NativeWindowMac::IsEnabled() {
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetEnabled(bool enable) {
|
||||
if (enable){
|
||||
if (enable) {
|
||||
// TODO(codebytere): figure out how to implement window enabling
|
||||
} else {
|
||||
[window_ attachedSheet] = nil;
|
||||
|
||||
@@ -847,9 +847,9 @@ the supplied bounds.
|
||||
|
||||
Returns [`Rectangle`](structures/rectangle.md)
|
||||
|
||||
### `win.setEnabled(enabled)`
|
||||
### `win.setEnabled(enable)`
|
||||
|
||||
* `enabled` Boolean
|
||||
* `enable` Boolean
|
||||
|
||||
Disable or enable the window.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user