Gallery: Apply aspect settings immediately when pressing the aspect buttons.
commitb13b58c7888d79eeb689222bf353ec8a048d5ca7
authorhirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Aug 2014 10:48:35 +0000 (8 10:48 +0000)
committerhirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Aug 2014 10:50:03 +0000 (8 10:50 +0000)
tree4ded3c7a6757a34afee3579738c77aa868a8788f
parent848453caed8b55480d71bb9ed7fe8393c4273dfc
Gallery: Apply aspect settings immediately when pressing the aspect buttons.

Previously the aspect ratio is applied at the beginning of dragging after
pressing the buttons.

The CL also temporarily removes dimmable class from the container of aspect
 buttons to prevent the aspect buttons from being dimmed until a user starts
 dragging.

BUG=401312
TEST=manually

Review URL: https://codereview.chromium.org/454743002

Cr-Commit-Position: refs/heads/master@{#288320}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288320 0039d316-1c4b-4281-b951-d872f2087c98
ui/file_manager/gallery/js/image_editor/image_transform.js