mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: add note about how to remove a previously set aspect ratio (#13293)
This commit is contained in:
committed by
Charles Kerr
parent
36c1e4cd75
commit
dd6c776a19
@@ -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
|
||||
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_
|
||||
|
||||
* `path` String - The absolute path to the file to preview with QuickLook. This
|
||||
|
||||
Reference in New Issue
Block a user