sadly removing box shaodw because of perf on reflow / paint

This commit is contained in:
Peter Cottle 2012-10-12 14:00:55 -07:00
parent 076f8e3056
commit 7d88e5564c
2 changed files with 4 additions and 8 deletions

View file

@ -267,7 +267,11 @@ p.commandLine span.prompt {
#commandLineHistory {
margin: 10px;
border-radius: 5px;
/*
UGHHHh the box shadow looks SO much better, but causes an extra 12ms in the paint update
when typing in the box. sadness. i will remove for perf, maybe add back in later.
box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
*/
}
#prompt {
@ -281,11 +285,6 @@ p.commandLine span.prompt {
}
#prompt span.cursor {
/*
ARGHHHhh why does this cause reflows / scrolls!?!?!? wtf
-webkit-animation-name: blink;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 99999; */
background: #DDD;
position: relative;
opacity: 0;

View file

@ -36,8 +36,5 @@ Bugs to fix:
- When you are rebasing and you hit the bottom, all the nodes go in the wrong spot...
We need some kind of "update everything but this set of nodes" thing...
- cannot checkout commits with dashes
- always grab the maxHeight
- debug why typing takes so long with the profiler