| Index: ui/file_manager/gallery/js/slide_mode.js
|
| diff --git a/ui/file_manager/gallery/js/slide_mode.js b/ui/file_manager/gallery/js/slide_mode.js
|
| index 3b8137648aea94f4fe20b11b6f2d7e2702f9fdac..64a0537abc219c0ce0ae6dad444494044ea06136 100644
|
| --- a/ui/file_manager/gallery/js/slide_mode.js
|
| +++ b/ui/file_manager/gallery/js/slide_mode.js
|
| @@ -363,6 +363,13 @@ function SlideMode(container, content, topToolbar, bottomToolbar, prompt,
|
| this.editButton_.addEventListener('click', this.toggleEditor.bind(this));
|
|
|
| /**
|
| + * @private {!FilesToggleRipple}
|
| + * @const
|
| + */
|
| + this.editButtonToggleRipple_ = /** @type {!FilesToggleRipple} */
|
| + (assert(this.editButton_.querySelector('files-toggle-ripple')));
|
| +
|
| + /**
|
| * @type {!HTMLElement}
|
| * @private
|
| * @const
|
| @@ -1524,6 +1531,7 @@ SlideMode.prototype.toggleEditor = function(opt_event) {
|
| this.stopSlideshow_();
|
|
|
| ImageUtil.setAttribute(this.container_, 'editing', !this.isEditing());
|
| + this.editButtonToggleRipple_.activated = this.isEditing();
|
|
|
| if (this.isEditing()) { // isEditing has just been flipped to a new value.
|
| // Reset zoom.
|
|
|