update docs
authorleethomas <leet944@gmail.com>
Fri, 20 May 2016 03:26:46 +0000 (20:26 -0700)
committerleethomas <leet944@gmail.com>
Fri, 20 May 2016 03:32:14 +0000 (20:32 -0700)
docs/api/browser-window.md

index a00b814..b3100e9 100644 (file)
@@ -682,7 +682,7 @@ Returns the title of the native window.
 **Note:** The title of web page can be different from the title of the native
 window.
 
-### `win.setSheetOffset(offsetY)` _OS X_
+### `win.setSheetOffset(offsetY[, offsetX])` _OS X_
 
 Changes the attachment point for sheets on Mac OS X. By default, sheets are
 attached just below the window frame, but you may want to display them beneath
@@ -693,16 +693,6 @@ let toolbarRect = document.getElementById('toolbar').getBoundingClientRect();
 win.setSheetOffset(toolbarRect.height);
 ```
 
-### `win.setSheetOffsets(offsetX, offsetY)` _OS X_
-
-Like `win.setSheetOffset` but allows for an offset along the x-axis to be set
-in addition to the y-axis.
-
-```javascript
-let toolbarRect = document.getElementById('toolbar').getBoundingClientRect();
-win.setSheetOffset(toolbarRect.left, toolbarRect.height);
-```
-
 ### `win.flashFrame(flag)`
 
 * `flag` Boolean