mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-05 02:44:51 +08:00
fix(launchscreen): hack until renderer sync fixed upstream
This commit is contained in:
parent
d722153de7
commit
c3ca9c4a9e
2 changed files with 25 additions and 17 deletions
|
@ -665,6 +665,13 @@ class NylasEnvConstructor extends Model
|
|||
startRootWindow: ->
|
||||
{safeMode, windowType, initializeInBackground} = @getLoadSettings()
|
||||
|
||||
# Temporary. It takes five paint cycles for all the CSS in index.html to
|
||||
# be applied. Remove if https://github.com/atom/brightray/issues/196 fixed!
|
||||
window.requestAnimationFrame =>
|
||||
window.requestAnimationFrame =>
|
||||
window.requestAnimationFrame =>
|
||||
window.requestAnimationFrame =>
|
||||
window.requestAnimationFrame =>
|
||||
@displayWindow() unless initializeInBackground
|
||||
|
||||
@registerCommands()
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue