Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: chrome/browser/resources/new_new_tab.js

Issue 203006: NNTP: Fix issue where dragged thumbnail had the wrong z-index.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_new_tab.js
===================================================================
--- chrome/browser/resources/new_new_tab.js (revision 25789)
+++ chrome/browser/resources/new_new_tab.js (working copy)
@@ -872,8 +872,8 @@
// Make sure we do not use a timer during load since it slows down the UI.
f();
} else {
- // The duration of all transitions are 500ms
- window.setTimeout(f, 500);
+ // The duration of all transitions are .15s
+ window.setTimeout(f, 150);
}
}
@@ -1558,6 +1558,7 @@
item.style.left = x + 'px';
item.style.top = y + 'px';
+ item.style.zIndex = 2;
},
// We listen to mousedown to get the relative position of the cursor for dnd.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698