DescriptionGallery: fix coordinate calculation of viewport.js.
We haven't considered top margin of screen when we calculate the
centered rect before. This caused wrong animations of crop and rotate.
BUG=521516, 521541
TEST=manually tested as described in the issues.
Committed: https://crrev.com/e962293dc947e79041a1a2179e6910dec25d5315
Cr-Commit-Position: refs/heads/master@{#343835}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|