diff options
author | Petar Šegina <psegina@google.com> | 2017-08-23 20:04:08 +0100 |
---|---|---|
committer | Petar Šegina <psegina@google.com> | 2017-08-23 20:04:08 +0100 |
commit | 29e59d8d74be119d850b3749dde7b16dbe960534 (patch) | |
tree | 9519fb2771e5ce53485cdd645988f21f05ccae7c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b2fb182085686ea72ee4a1364d0399ba236f4ec5 (diff) |
Do not round corners on tall selection rectangles
When performing the smart select animation, some of the selection
rectangles may be taller than they are wide (e.g. due to a very large
line-height). Since in these cases we cannot properly round the corners
and the effect looks off, the agreed upon action is to not round the
corners of these selection rectangles at all.
Test: manual - run SmartSelectSprite on a manually constructed set of
rectangles and verify that it behaves correctly
Change-Id: Ifd02005e3d2709736c34f6d07671a4eb7a9557db
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions