Reduce startup jank, improve startup time (#568)

* Reduce jank on app startup

This feels a lot better on my 12" macbook (underpowered machine)

* Defer loading iso-639-1 and simple-concat
This commit is contained in:
Feross Aboukhadijeh
2016-05-23 22:12:04 -07:00
committed by DC
parent 1b49c6568b
commit 455c9c02b9
2 changed files with 26 additions and 28 deletions

View File

@@ -50,19 +50,22 @@ table {
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.app {
-webkit-user-select: none;
-webkit-app-region: drag;
height: 100%;
display: flex;
flex-flow: column;
animation: fadein 0.3s;
background: rgb(40, 40, 40);
animation: fadein 1s;
}
.app:not(.is-focused) {