mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Show window only after root view is attached
This prevents a white flicker when the page starts to load.
This commit is contained in:
@@ -75,6 +75,9 @@ _.extend atom,
|
||||
focus: ->
|
||||
@sendMessageToBrowserProcess('focus')
|
||||
|
||||
show: ->
|
||||
@sendMessageToBrowserProcess('show')
|
||||
|
||||
exit: (status) ->
|
||||
@sendMessageToBrowserProcess('exit', [status])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user