mirror of
https://github.com/atom/atom.git
synced 2026-02-14 00:25:08 -05: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