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

Unified Diff: ui/file_manager/gallery/js/thumbnail_mode.js

Issue 2727353004: Compile Image Editor in gyp v2 (Closed)
Patch Set: . Created 3 years, 9 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/gallery/js/thumbnail_mode.js
diff --git a/ui/file_manager/gallery/js/thumbnail_mode.js b/ui/file_manager/gallery/js/thumbnail_mode.js
index a2a2d3cf4c3b507d80677f7a2614479e895ae55b..a965c2e14aaeaf39d8702dc7ef1e381cf98b6c54 100644
--- a/ui/file_manager/gallery/js/thumbnail_mode.js
+++ b/ui/file_manager/gallery/js/thumbnail_mode.js
@@ -443,9 +443,9 @@ ThumbnailView.prototype.moveSelection_ = function(direction, selectRange) {
ThumbnailView.prototype.scrollTo_ = function(index) {
var thumbnailRect = this.getThumbnailRect(index);
- if (thumbnailRect.top - ThumbnailView.MARGIN < ImageEditor.Toolbar.HEIGHT) {
+ if (thumbnailRect.top - ThumbnailView.MARGIN < ImageEditorToolbar.HEIGHT) {
this.container_.scrollTop -=
- ImageEditor.Toolbar.HEIGHT - thumbnailRect.top + ThumbnailView.MARGIN;
+ ImageEditorToolbar.HEIGHT - thumbnailRect.top + ThumbnailView.MARGIN;
} else if (thumbnailRect.bottom + ThumbnailView.MARGIN >
this.container_.clientHeight) {
this.container_.scrollTop += thumbnailRect.bottom + ThumbnailView.MARGIN -
« no previous file with comments | « ui/file_manager/gallery/js/slide_mode_unittest.html ('k') | ui/webui/resources/js/cr/ui/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698