mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Hide body when unloading
This prevents a weird UI flicker when refreshing with the settings view open.
This commit is contained in:
parent
fd9f3d6543
commit
e03544bab6
@ -56,7 +56,10 @@ window.startEditorWindow = ->
|
||||
keymap.loadUserKeymaps()
|
||||
atom.requireUserInitScript()
|
||||
ipc.sendChannel 'update-application-menu', keymap.keystrokesByCommandForSelector('body')
|
||||
$(window).on 'unload', -> unloadEditorWindow(); false
|
||||
$(window).on 'unload', ->
|
||||
$(document.body).hide()
|
||||
unloadEditorWindow()
|
||||
false
|
||||
atom.show()
|
||||
atom.focus()
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html style="background: #333">
|
||||
<html style="background: #fff">
|
||||
<head>
|
||||
<title></title>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user