Commit a9fe26ef authored by bgeron's avatar bgeron Committed by Commit bot

[turbolizer] Use a 300ms transition for expanding/collapsing panes, not 1000ms.

BUG=
R=danno

Review-Url: https://codereview.chromium.org/2230783005
Cr-Commit-Position: refs/heads/master@{#38561}
parent 7ea3b099
......@@ -251,9 +251,8 @@ span.linkable-text:hover {
-webkit-transition: all 1s ease-in-out;
-moz-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
transition: all .3s ease-in-out;
transition-property: width;
transition-duration: 1s, 1s;
}
#middle {
......@@ -261,9 +260,8 @@ span.linkable-text:hover {
-webkit-transition: all 1s ease-in-out;
-moz-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
transition: all .3s ease-in-out;
transition-property: width;
transition-duration: 1s, 1s;
}
#right {
......@@ -271,9 +269,8 @@ span.linkable-text:hover {
-webkit-transition: all 1s ease-in-out;
-moz-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
transition: all .3s ease-in-out;
transition-property: width;
transition-duration: 1s, 1s;
}
#disassembly-collapse {
......
......@@ -142,13 +142,13 @@ document.onload = (function(d3){
toggleSourceExpanded(true);
setTimeout(function(){
g.fitGraphViewToWindow();
}, 1000);
}, 300);
});
d3.select("#disassembly-collapse").on("click", function(){
toggleDisassemblyExpanded();
setTimeout(function(){
g.fitGraphViewToWindow();
}, 1000);
}, 300);
});
window.onresize = function(){
fitPanesToParents();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment