avocado
avocado copied to clipboard
Image with scaleX not working
I have the following image:
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="5dp"
android:height="8dp"
android:viewportHeight="8"
android:viewportWidth="5">
<group
android:translateX="5.5"
android:translateY="-22">
<group
android:scaleX="-1">
<path
android:fillColor="#acacac"
android:pathData="M1.4543568 30L5.5 26 1.4543568 22 0.5 22.94359 3.5912863 26 0.5 29.05641 1.4543568 30Z"/>
</group>
</group>
</vector>
After converting:
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="5dp" android:height="8dp" android:viewportHeight="8" android:viewportWidth="5">
<path android:fillColor="#acacac" android:pathData="M6.954-52L11-48l-4.046 4L6-44.944 9.091-48 6-51.056 6.954-52z"/>
</vector>
The new image is completely invisible. My guess is that the scaleX is causing the bug.
Sorry for the delay, will investigate!
Hmm, I've confirmed the bug... looks like an issue specific to the scaleX="-1"
...