| 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 -
|
|
|