mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
@@ -24,6 +24,7 @@ atom.keymap.loadBundledKeymaps()
|
||||
$(window).on 'core:close', -> window.close()
|
||||
$(window).on 'unload', ->
|
||||
atom.windowMode = 'spec'
|
||||
atom.getWindowState().set('dimensions', atom.getDimensions())
|
||||
atom.saveWindowState()
|
||||
$('html,body').css('overflow', 'auto')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user