commit | 755778cda0608e314340f3937618d3410b54e668 | [log] [tgz] |
---|---|---|
author | Yuqian Li <liyuqian@google.com> | Wed Mar 28 16:23:31 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Mar 28 20:51:44 2018 +0000 |
tree | 4990bad5305a7adfa2147f2d59bf3294eadebf01 | |
parent | 470d82973182d0c4e30568c20af9d96dcfd63485 [diff] |
Update trans limit after zoom changes in viewer Previously, the trans limit assumes that only touch gesture can change the zoom level. That's not true on desktops so we need this fix. Otherwise, we won't be able to translate when we zoomed in. Bug: skia: Change-Id: I5901600a0044639a47514ab76b7e1914f04137a2 Reviewed-on: https://skia-review.googlesource.com/116987 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>