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