mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Fullscreen => FullScreen.
This commit is contained in:
@@ -219,10 +219,10 @@ window.atom =
|
||||
@setFullScreen(!@isFullScreen())
|
||||
|
||||
setFullScreen: (fullScreen=false) ->
|
||||
remote.getCurrentWindow().setFullscreen(fullScreen)
|
||||
remote.getCurrentWindow().setFullScreen(fullScreen)
|
||||
|
||||
isFullScreen: ->
|
||||
remote.getCurrentWindow().isFullscreen()
|
||||
remote.getCurrentWindow().isFullScreen()
|
||||
|
||||
sendMessageToBrowserProcess: (name, data=[], callbacks) ->
|
||||
throw new Error("sendMessageToBrowserProcess no longer works for #{name}")
|
||||
|
||||
@@ -162,7 +162,7 @@ class AtomApplication
|
||||
label: 'View'
|
||||
submenu:[
|
||||
{ label: 'Reload', accelerator: 'Command+R', click: => BrowserWindow.getFocusedWindow()?.restart() }
|
||||
{ label: 'Toggle Full Screen', accelerator: 'Command+MacCtrl+F', click: => BrowserWindow.getFocusedWindow()?.setFullscreen(!BrowserWindow.getFocusedWindow().isFullscreen()) }
|
||||
{ label: 'Toggle Full Screen', accelerator: 'Command+MacCtrl+F', click: => BrowserWindow.getFocusedWindow()?.setFullScreen(!BrowserWindow.getFocusedWindow().isFullScreen()) }
|
||||
{ label: 'Toggle Developer Tools', accelerator: 'Alt+Command+I', click: => BrowserWindow.getFocusedWindow()?.toggleDevTools() }
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user