This commit is contained in:
Shelley Vohr 2018-02-06 08:30:33 -05:00
parent faf08b2b77
commit 131aa38768
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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.