Merge pull request #743 from feross/f/mac

OS X -> Mac
This commit is contained in:
Feross Aboukhadijeh
2016-07-27 13:15:48 -07:00
committed by GitHub
12 changed files with 40 additions and 40 deletions

View File

@@ -50,7 +50,7 @@ function getDefaultState () {
*
* Config path:
*
* OS X ~/Library/Application Support/WebTorrent/config.json
* Mac ~/Library/Application Support/WebTorrent/config.json
* Linux (XDG) $XDG_CONFIG_HOME/WebTorrent/config.json
* Linux (Legacy) ~/.config/WebTorrent/config.json
* Windows (> Vista) %LOCALAPPDATA%/WebTorrent/config.json

View File

@@ -416,7 +416,7 @@ function onVisibilityChange () {
function onFullscreenChanged (e, isFullScreen) {
state.window.isFullScreen = isFullScreen
if (!isFullScreen) {
// Aspect ratio gets reset in fullscreen mode, so restore it (OS X)
// Aspect ratio gets reset in fullscreen mode, so restore it (Mac)
ipcRenderer.send('setAspectRatio', state.playing.aspectRatio)
}