docs: add note about how to remove a previously set aspect ratio (#13293)

This commit is contained in:
Danny Brown 2018-06-19 11:24:42 -04:00 committed by Charles Kerr
parent 36c1e4cd75
commit dd6c776a19

View file

@ -828,6 +828,9 @@ the player itself we would call this function with arguments of 16/9 and
are within the content view--only that they exist. Sum any extra width and are within the content view--only that they exist. Sum any extra width and
height areas you have within the overall content view. height areas you have within the overall content view.
Calling this function with a value of `0` will remove any previously set aspect
ratios.
#### `win.previewFile(path[, displayName])` _macOS_ #### `win.previewFile(path[, displayName])` _macOS_
* `path` String - The absolute path to the file to preview with QuickLook. This * `path` String - The absolute path to the file to preview with QuickLook. This