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

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

Issue 2589823002: Avoid UI jankiness caused by triggering selection scan too frequently. (Closed)
Patch Set: Created 4 years 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: ui/file_manager/file_manager/foreground/js/import_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/import_controller.js b/ui/file_manager/file_manager/foreground/js/import_controller.js
index 0d129a01b06d6768247b07dd7de2deb87e08ac75..8659572986716a7f1d0d382d9121425fb6f19738 100644
--- a/ui/file_manager/file_manager/foreground/js/import_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/import_controller.js
@@ -1211,7 +1211,7 @@ importer.RuntimeControllerEnvironment.prototype.addDirectoryChangedListener =
importer.RuntimeControllerEnvironment.prototype.addSelectionChangedListener =
function(listener) {
this.selectionHandler_.addEventListener(
- FileSelectionHandler.EventType.CHANGE,
+ FileSelectionHandler.EventType.CHANGE_THROTTLED,
listener);
};
« 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