vector icon: Switch ordering of transforms in rtl paint vector icon.
Vector icons with FLIPS_IN_RTL get shown. Right now there are only the submenu arrow and the tablet mode back button which uses this command. This also only happens when using the 2x icon. The current transforms applied on rtl 2x icons are: - scale down by factor of 2 - scale by -1 - translate by the canvas size This results in the icon being translated out of its bounds and not being shown. This cl does the scaling down after the translation. Test: gfx_unittests VectorIconTest.FlipsInRtl Bug: 769366, 768059 Change-Id: I67e748ea23c9020f13a693546db2fade07e05ae6 Reviewed-on: https://chromium-review.googlesource.com/687826Reviewed-by:Evan Stade <estade@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#504776}
Showing
Please register or sign in to comment