fix(work): Treat work window as if it's always visible

This commit is contained in:
Ben Gotow 2015-11-25 12:38:59 -08:00
parent 121fb2482d
commit c6c3a53e2c

View file

@ -61,7 +61,7 @@ class NylasWindow
webPreferences:
directWrite: true
if @mainWindow
if @neverClose
# Prevents DOM timers from being suspended when the main window is hidden.
# Means there's not an awkward catch-up when you re-show the main window.
options.webPreferences.pageVisibility = true