Files app: Remove thumbnail animation when updating its image
This CL removes the animation when updating the thumbnail image. This animation is very quick and hardly noticed and some code paths weren't even using the animation. This fixes 2 issues: 1. Old images weren't removed when there animation wasn't used. 2. The event listener for 'animationend' wasn't removed. No change in functionality for the user, so no new tests added. Test: Manually checked that file list and grid display and update their thumbnails. Bug: 1056443 Change-Id: I8a6bd050c2bbb358387934ff9371c075a6703508 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076749 Commit-Queue: Noel Gordon <noel@chromium.org> Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#744972}
Showing
Please register or sign in to comment