commit | 54357bc884cd351bccb8e0ddf501edc4ddd8af9e | [log] [tgz] |
---|---|---|
author | Valera Zakharov <valeraz@google.com> | Tue Jan 07 22:09:41 2014 |
committer | Valera Zakharov <valeraz@valeraz-macbookair.roam.corp.google.com> | Wed Jan 08 18:40:48 2014 |
tree | b68a91b5f04f175c64b5a6fcffea83da5b604ed5 | |
parent | f304abda87c06fe3b3a1b5e9410d159282bcbff6 [diff] |
Fix GeneralLocation using X and Y offsets the wrong way round. Previously, CENTER_LEFT returned (0.5, 0) while TOP_CENTER gave (0, 0.5). These should be the other way round. It appears nothing in [] uses any locations other than CENTER or TOP_LEFT, which are both unaffected (as the same offset is used on both axes). ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=55913915