typo fix
This commit is contained in:
parent
faf08b2b77
commit
131aa38768
2 changed files with 3 additions and 3 deletions
|
@ -1136,7 +1136,7 @@ bool NativeWindowMac::IsEnabled() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeWindowMac::SetEnabled(bool enable) {
|
void NativeWindowMac::SetEnabled(bool enable) {
|
||||||
if (enable){
|
if (enable) {
|
||||||
// TODO(codebytere): figure out how to implement window enabling
|
// TODO(codebytere): figure out how to implement window enabling
|
||||||
} else {
|
} else {
|
||||||
[window_ attachedSheet] = nil;
|
[window_ attachedSheet] = nil;
|
||||||
|
|
|
@ -847,9 +847,9 @@ the supplied bounds.
|
||||||
|
|
||||||
Returns [`Rectangle`](structures/rectangle.md)
|
Returns [`Rectangle`](structures/rectangle.md)
|
||||||
|
|
||||||
### `win.setEnabled(enabled)`
|
### `win.setEnabled(enable)`
|
||||||
|
|
||||||
* `enabled` Boolean
|
* `enable` Boolean
|
||||||
|
|
||||||
Disable or enable the window.
|
Disable or enable the window.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue