the scale factor can be less which will make the dash to 0 again.
Change-Id: I2aacaa342a09f010835c23beb7c2e476c2b11825
mDrawable->setStrokeInfo(mCap, mJoin, mMiterLimit,
mWidth * scale);
if (mDashArraySize) {
- /* AE draw the dash even if dash value is 0 */
- if (vCompare(mDashArray[0], 0.0f)) mDashArray[0]= 0.2;
-
for (int i = 0 ; i < mDashArraySize ; i++)
mDashArray[i] *= scale;
+
+ /* AE draw the dash even if dash value is 0 */
+ if (vCompare(mDashArray[0], 0.0f)) mDashArray[0]= 0.1;
+
mDrawable->setDashInfo(mDashArray, mDashArraySize);
}
}