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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/directory_tree.js

Issue 904403002: Make the position of 'n files selected' label synced with the width of navigation list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set initial width for #cancel-selection-button-wrapper, used before the first relayout event. Created 5 years, 10 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
Index: ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
index 07da8edbc7dac8c84d956dcbf8167ed9dda02dd5..c3abdbe2033e583f29e2016b107ace02e3ff14c5 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
@@ -1123,5 +1123,5 @@ DirectoryTree.prototype.onListContentChanged_ = function() {
* Updates the UI after the layout has changed.
*/
DirectoryTree.prototype.relayout = function() {
- cr.dispatchSimpleEvent(this, 'relayout');
+ cr.dispatchSimpleEvent(this, 'relayout', true);
};

Powered by Google App Engine
This is Rietveld 408576698